API referenceScenes

Undo a scene edit

Roll a scene back through the edit-history ledger: steps (1-10) rewinds that many edits, revision_id restores one exact restore point of this scene.

Covers every kind of scene edit. Free and non-destructive: the rollback is itself recorded.

POST
/scenes/{sceneId}/undo

Authorization

bearerAuth
AuthorizationBearer <token>

Typecut API key. Generate one in app.typecut.ai → Settings → API keys. Send as Authorization: Bearer tc_live_….

In: header

Path Parameters

sceneId*string
Formatuuid

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/scenes/497f6eca-6276-4993-bfeb-53cbbbba6f08/undo" \  -H "Content-Type: application/json" \  -d '{}'
{
  "data": {
    "scene_id": "861eef56-1159-4a95-802f-abab2d0cc192",
    "project_id": "405d8375-3514-403b-8c43-83ae74cfe0e9",
    "restored_revision_id": "ab835e8e-d574-4b9b-afea-d26655103b67",
    "revision_at": "string"
  }
}
{
  "error": {
    "type": "string",
    "code": "string",
    "message": "string"
  }
}
{
  "error": {
    "type": "string",
    "code": "string",
    "message": "string"
  }
}
{
  "error": {
    "type": "string",
    "code": "string",
    "message": "string"
  }
}
{
  "error": {
    "type": "string",
    "code": "string",
    "message": "string"
  }
}
{
  "error": {
    "type": "string",
    "code": "string",
    "message": "string"
  }
}