Publish Prompt Template
Prompt Templates
Publish Prompt Template
POST
Publish Prompt Template
Publish Prompt Template allows you to programmatically create a new version of a prompt template and make it available for use in the application.Documentation Index
Fetch the complete documentation index at: https://promptlayer-add-demo-projects.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Body
application/json
Template metadata, including prompt name, tags, folder, and workspace fields.
Version content and configuration.
Release labels to create or move to the newly created version.
Identifiers from other systems.
Response
Successful Response
The ID of the prompt template.
The name of the prompt template.
The ID of the created prompt version.
The version number of the prompt template.
- Completion Template
- Chat Template
External ID mappings attached to the prompt template.
Metadata associated with the prompt blueprint. Supports additional custom fields beyond the model field.

