API referenceScenes
Accept or reject a scene
Record an explicit accept or reject of a scene as a feedback signal, keyed to the scene's latest generation.
Changes nothing about the scene. Free.
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
Format
uuidRequest 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/verdict" \ -H "Content-Type: application/json" \ -d '{ "verdict": "accept" }'{
"data": {
"scene_id": "861eef56-1159-4a95-802f-abab2d0cc192",
"project_id": "405d8375-3514-403b-8c43-83ae74cfe0e9",
"verdict": "accept",
"generation_id": "a3c889df-e7ae-4ae9-9838-8884129ade5e",
"event_id": "a7a26ff2-e851-45b6-9634-d595f45458b7"
}
}{
"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"
}
}Undo a scene edit POST
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.
Export a scene as an embeddable web block POST
Publish a finished, resolved DOM+GSAP scene as a block any web page can embed and drive.