GET
/
prompts
/
{slug}
/
describe
curl --request GET \
  --url https://api.getbasalt.ai/prompts/{slug}/describe \
  --header 'Authorization: Bearer <token>'
{
  "warning": "<string>",
  "prompt": {
    "slug": "my-slug",
    "name": "My Prompt",
    "status": "live",
    "description": "This is a description of the prompt",
    "availableVersions": [
      "1.0.0",
      "1.0.1"
    ],
    "availableTags": [
      "latest",
      "production",
      "staging"
    ],
    "variables": [
      {
        "label": "Name",
        "type": "string",
        "description": "This is a description of the variable"
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

slug
string
required

The slug of the prompt to describe

Example:

"my-slug"

Query Parameters

version
string

The version to filter prompts by

Example:

"1.0.0"

tag
string

The tag to filter prompts by

Example:

"latest"

Response

200
application/json

The prompt with all its parameters

The response is of type object.