GET
/
prompts
/
partials
curl --request GET \
  --url https://api.portkey.ai/v1/prompts/partials \
  --header 'x-portkey-api-key: <api-key>'
[
  {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "slug": "<string>",
    "name": "<string>",
    "collection_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "created_at": "2023-11-07T05:31:56Z",
    "last_updated_at": "2023-11-07T05:31:56Z",
    "status": "active",
    "object": "partial"
  }
]

Authorizations

x-portkey-api-key
string
header
required

Query Parameters

collection_id
string

Response

200
application/json
List of prompt partials
id
string
slug
string
name
string
collection_id
string
created_at
string
last_updated_at
string
status
enum<string>
Available options:
active,
archived
object
enum<string>
Available options:
partial