Attach/Set Version Tag
Prompt Versions
Attach/Set Version Tag
Attaches a unique string tag (e.g. ‘prod’) to the specified prompt version, replacing the tag on any other version of this prompt if it was already assigned.
POST
Attach/Set Version Tag
Authorizations
Use an access token retrieved from login (Bearer sess_...) or a programmatic API key (Bearer ak_...).
Path Parameters
Unique prompt UUID.
Version sequence number (integer) or version tag (string) to tag.
Body
application/json
Tag string (alphanumeric, dots, dashes, underscores).
Maximum string length:
50Example:
"prod"
Response
Tag attached successfully. Returns the updated version.

