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[]
requiredprompt_template
object
requiredrelease_labels
string[] | null
metadata
object | null
commit_message
string | null
Was this page helpful?