Skip to main content
POST
Rollback a Prompt

Authorizations

Authorization
string
header
required

Use an access token retrieved from login (Bearer sess_...) or a programmatic API key (Bearer ak_...).

Path Parameters

id
string<uuid>
required

Body

application/json
target_version
integer
required

The historical version number to promote to live.

rollback_reason
string
required

The reason for rolling back.

Response

Prompt successfully rolled back

version
object
required