Reference
Publish Prompt Template
POST
/
rest
/
prompt-templates
Publish Prompt Template allows you to programmatically create a new version of a prompt template and make it available for use in the application.
Headers
X-API-KEY
string
requiredBody
application/json
prompt_template
object
requiredprompt_version
object
requiredrelease_labels
string[] | null
Response
200 - application/json
id
integer
requiredprompt_name
string
requiredtags
string[]
requiredrelease_labels
string[] | null
prompt_template
object
requiredmetadata
object | null
commit_message
string | null
Was this page helpful?