Get a Prompt
Changed onReturns details of a specific prompt container by its unique UUID or unique slug. Optionally retrieves version or tag details if requested via query parameters.
Request
- Base URL: http://localhost:3000
- URL: http://localhost:3000/v1/prompts/{id}
- Auth: HTTP bearer
Path parameters
The unique UUID or unique slug of the prompt.
Query parameters
Optional version sequence number (integer) or version tag (string) to retrieve along with the prompt details.
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
}
}
}
}Changes
- breaking
removed the required property
/from the response with the status - info
added the required property
/to the response with the status - info
added the required property
/to the response with the status - info
added the required property
/to the response with the status
- breaking
- info
the endpoint scheme security
ApiKeyAuthwas removed from the API - info
added the new optional
queryrequest parametertag - info
added the new optional
queryrequest parameterversion - info
for the
pathrequest parameterid, the format was generalized fromuuidto no format - info
added the optional property
to the response with the status
- info