Skip to main content
GET
/
v1
/
prompts
/
{id}
/
label
/
{label}
Resolve a label to the pinned version content
curl --request GET \
  --url https://api.example.com/v1/prompts/{id}/label/{label} \
  --header 'Authorization: Bearer <token>'
{
  "promptId": "<string>",
  "versionId": "<string>",
  "version": 123,
  "content": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required
label
string
required

Response

200 - application/json
promptId
string
required
versionId
string
required
version
number
required
content
string
required