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.
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
Changed in 3 of the 18 revisions of this API.111
- ▲
removed the required property
prompt/team_idfrom the response with the200statusresponse-required-property-removed
- ○
added the required property
prompt/project_idto the response with the200statusresponse-required-property-added
- ○
added the required property
version/modelto the response with the200statusresponse-required-property-added
- ○
added the required property
version/model_paramsto the response with the200statusresponse-required-property-added
- ▲
- ○
the endpoint scheme security
ApiKeyAuthwas removed from the APIapi-security-removed
- ○
added the new optional
queryrequest parametertagnew-optional-request-parameter
- ○
added the new optional
queryrequest parameterversionnew-optional-request-parameter
- ○
for the
pathrequest parameterid, the type/format was generalized fromstring/uuidtostring/request-parameter-type-generalized
- ○
added the optional property
versionto the response with the200statusresponse-optional-property-added
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ○
added the required property
prompt/slugto the response with the200statusresponse-required-property-added
- ○
added the required property
prompt/statusto the response with the200statusresponse-required-property-added
- ○
added the required property
prompt/team_idto the response with the200statusresponse-required-property-added
- ○