Skip to main content
POST
Publish a prompt version with a tag

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

slug
string
required

The slug of the prompt to publish

Example:

"my-prompt-slug"

Body

application/json
newTag
string
required

The new tag to assign to the prompt version

Minimum string length: 1
Example:

"production"

version
string

The version number of the prompt to publish

Example:

"1.0.0"

tag
string

The tag of the prompt version to publish

Example:

"latest"

Response

The deployment tag was successfully created or updated

deploymentTag
object
required

The deployment tag that was created or updated

Example: