Update Prompt Version Draft
Prompt Versions
Update Prompt Version Draft
Updates the draft template code of a specific version. Only versions currently in the ‘draft’ status may be modified.
PUT
Update Prompt Version Draft
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 update.
Body
application/json
Example:
"Hello, {{.name}}! Count is {{.count}}."
Response
Version updated successfully

