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
}
}
}
}