Duplicate Prompt Version
Prompt Versions
Duplicate Prompt Version
Copies the specified prompt version’s template to create a new prompt version in draft state. This operation does not copy any associated payloads, only the prompt template and other metadata.
POST
Duplicate Prompt Version
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 duplicate from.
Response
Prompt version duplicated and new draft version created successfully

