Skip to main content
GET
/
v1
/
prompts
List all prompts for the tenant (with label map)
curl --request GET \
  --url https://api.example.com/v1/prompts \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": "<string>",
    "name": "<string>",
    "description": "<string>",
    "labels": {},
    "createdAt": "2023-11-07T05:31:56Z"
  }
]

Authorizations

Authorization
string
header
required

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

Response

200 - application/json
id
string
required

Prompt UUID

name
string
required

Human-readable prompt name (unique per tenant)

description
string
required

Optional description

labels
object
required

Map of label name → version number (e.g. { production: 2 })

createdAt
string<date-time>
required