v18

latestOpenAPI 3.1.0raw.githubusercontent.com2026-07-2112360218.7 KB
Prompts

Get a Prompt

Returns details of a specific prompt container by its unique UUID or unique slug. Optionally retrieves version or tag details if requested via query parameters.

get/v1/prompts/{id}

Path parameters

idstring required

The unique UUID or unique slug of the prompt.

Query parameters

versionstring

Optional version sequence number (integer) or version tag (string) to retrieve along with the prompt details.

tagstring

Optional version tag (string) to retrieve along with the prompt details.

Response

Prompt details

Example response

{
  "version": {
    "template": "Hello {{.name}}!",
    "model": "anthropic/claude-opus-4-6",
    "model_params": {
      "temperature": 0.7,
      "max_tokens": 1024,
      "thinking": {
        "type": "enabled",
        "budget_tokens": 512
      }
    }
  }
}