v2
latestOpenAPI 3.1.02026-07-26143251806.6 KBprompt-templates
Get Prompt Template Raw Data
get/prompt-templates/{identifier}
Path parameters
identifierstring required
The identifier can be either the prompt name or the prompt id.
Query parameters
versioninteger
Specific version number to retrieve. Mutually exclusive with label.
labelstring
Release label name to retrieve (e.g. 'prod', 'staging'). Mutually exclusive with version.
resolve_snippetsboolean
When true (default), snippets are expanded in the returned prompt_template. When false, raw @@@snippet@@@ references are preserved.
include_llm_kwargsboolean
When true, includes provider-specific llm_kwargs in the response. Requires model metadata to be set on the template.
Response
Successful Response