Skip to main content
POST

Authorizations

Authorization
string
header
required

JWT token from Clerk authentication.

Must be from a user with org:admin role.

Body

application/json
agentId
integer
required
Example:

1

action
enum<string>
required
Available options:
rollback,
checkpoint
versionId
integer

Version to restore (required when action is rollback)

Example:

17

label
string

Optional note for the version (used when action is checkpoint)

Example:

"before reworking the system prompt"

Response

Action completed

success
boolean
publishedVersionId
integer

The version now reflected by the agent's live config