Skip to main content
GET
Get a revision

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

revisionId
string
required

Response

id
string
required
createdAt
string
required
source
enum<string>
required

Where the change came from: DASHBOARD, API, SIDEKICK, TEMPLATE (template applied), RESTORE, ADMIN (Totebot support) or SYSTEM (e.g. a plan downgrade switched the model).

Available options:
DASHBOARD,
API,
SIDEKICK,
TEMPLATE,
RESTORE,
ADMIN,
SYSTEM
actor
string | null
required

A user id, api-key:<id> for API keys, or null for background jobs.

actorName
string | null
required

The user name or API key name, when known.

Example:

"API key \"CI\""

changedFields
string[]
required

Agent fields, and widget fields as widget.<field>.

Example:
summary
string
required
Example:

"instructions (1204 → 1530 chars), temperature 0.7 → 0.3"

changes
object
required

Every changed field with its value before and after.

Example:
previous
object
required

Every kept setting as it was just before this change; restoring the revision puts these back.