API Reference
Virtual Keys
Prompts
- POSTCreate Prompt
- GETList Prompts
- GETRetrieve Prompt
- PUTUpdate Prompt
- DELDelete Prompt
- PUTPublish Prompt
- GETList Prompt Versions
- GETRetrieve Prompt Version
- PUTUpdate Prompt Version
- Prompt Partials
- Prompt Labels
- Prompt Collections
API Keys
Analytics [BETA]
- Summary
- Groups Paginated Data
- Graphs - Time Series Data
User Invites
Workspaces
Workspace Members
OpenAPI
List Prompts
GET
/
prompts
curl --request GET \
--url https://api.portkey.ai/v1/prompts \
--header 'x-portkey-api-key: <api-key>'
{
"data": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"slug": "<string>",
"name": "<string>",
"collection_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"model": "<string>",
"status": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"last_updated_at": "2023-11-07T05:31:56Z",
"object": "prompt"
}
],
"total": 123
}
Authorizations
Query Parameters
Was this page helpful?
curl --request GET \
--url https://api.portkey.ai/v1/prompts \
--header 'x-portkey-api-key: <api-key>'
{
"data": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"slug": "<string>",
"name": "<string>",
"collection_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"model": "<string>",
"status": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"last_updated_at": "2023-11-07T05:31:56Z",
"object": "prompt"
}
],
"total": 123
}