Prompts
Publish Prompt
Assign a new tag to a specific prompt version. If the tag already exists, it will be updated to point to the specified version. If the tag does not exist, it will be created.
POST
Publish a prompt version with a tag
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
The slug of the prompt to publish
Example:
"my-prompt-slug"
Body
application/json
Response
The deployment tag was successfully created or updated
The deployment tag that was created or updated
Example:
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"label": "production"
}Publish a prompt version with a tag