Reference
Publish Prompt Template (Deprecated)
POST
Publish Prompt Template allows you to programmatically create a new version of a prompt. This endpoint works with the deprecated prompt template format. This was meant to be used alongside promptlayer.prompts.get
. However, we recommend using the new prompt format and the promptlayer.templates.publish
endpoint instead.
Body
application/json
Response
200
application/json
Successful Response
The response is of type object
.