API referenceProjects

Edit history (restore points)

The edit-history ledger, newest first.

Each row is the PRIOR state of a scene or chapter captured just before an update or delete, whoever made it. Metadata only.

GET
/projects/{id}/revisions

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

id*string
Formatuuid

Query Parameters

scene_id?string
Formatuuid
limit?integer
Range1 <= value <= 200

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/projects/497f6eca-6276-4993-bfeb-53cbbbba6f08/revisions"
{
  "data": {
    "project_id": "405d8375-3514-403b-8c43-83ae74cfe0e9",
    "revisions": [
      {
        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
        "entity_type": "scene",
        "entity_id": "8161163a-f227-466f-bc01-090a01e80165",
        "chapter_id": "88d12d31-77f2-44df-910e-b37f83274f80",
        "op": "update",
        "prior_title": "string",
        "created_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"
  }
}