Skip to main content
POST
Restore a revision (roll back)

Authorizations

Authorization
string
header
required

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

Headers

Idempotency-Key
string

Any unique string (e.g. a UUID). Retrying with the same key within 24 hours replays the first response instead of repeating the change.

Path Parameters

revisionId
string
required

Query Parameters

dryRun
enum<string>

true changes nothing and returns changes (each field before and after) and skippedFields.

Available options:
true,
false

Response

revisionId
string
required
changedFields
string[]
required
skippedFields
object[]
required

Fields left as they are: internal AI flags, settings this path cannot change, features the plan lacks, and anything a restore never turns back on (auto-retrain, gap digest emails).

restored
boolean

False when nothing changed. Absent on a dry run, which returns dryRun: true and changes instead.

dryRun
boolean
changes
object

Dry run only: each field that would change, before and after.