Retrieve raw prompt template data without applying input variables. This endpoint is useful for template inspection, local caching, and GitHub sync workflows.Documentation Index
Fetch the complete documentation index at: https://docs.promptlayer.com/llms.txt
Use this file to discover all available pages before exploring further.
resolve_snippets=false returns raw @@@snippet@@@ references instead of expanded snippet content.include_llm_kwargs=true includes provider-specific LLM API arguments for local execution or caching.Cache-Control: no-cache.llm_kwargs shape is provider-specific and may change as provider APIs change; use prompt_template for stable, provider-agnostic data.The identifier can be either the prompt name or the prompt id.
Specific version number to retrieve. Mutually exclusive with label.
Release label name to retrieve (e.g. 'prod', 'staging'). Mutually exclusive with version.
When true (default), snippets are expanded in the returned prompt_template. When false, raw @@@snippet@@@ references are preserved.
When true, includes provider-specific llm_kwargs in the response. Requires model metadata to be set on the template.
Successful Response
The prompt template ID.
The name of the prompt template.
The version number of the prompt template.
The workspace this prompt template belongs to.
The prompt template content. When resolve_snippets is true (default), snippets are expanded. When false, raw @@@snippet@@@ references are preserved.
List of snippet references used in this template.
Model configuration including provider, model name, and parameters.
The commit message for this version.
Tags associated with the prompt template.
Timestamp when this version was created.
Provider-specific LLM arguments. Only present when include_llm_kwargs=true. Structure is provider-specific and may change without notice.