compositions_get_draft
Load the saved composition edit document
Restores the saved working draft when the editor opens (so prior trims/cuts come back after a reload), by recording_id for the per-recording draft or by composition_id. Returns { draft: nil } when none exists. This is a REPAIRING read, not a pure one: when the caller has edit authority and the Episode's resting suggestion was authored under a superseded Project objective, this read may admit ONE bounded, deduplicated, paid recommendation refresh for exactly this Episode (a durable admission receipt on the synthesis manifest plus one background job). That is its only side effect — it never edits a Program, creates a Clip, starts a Render, publishes, or creates a public link, and read-only callers admit nothing.
Surface: App-only
Product release eb8538f4a297f331d0399351c1e175bffcd212d2
Public contract commit 20688e11af473a363145ed880d5019c90a7ec1e2
Public contract SHA-256 87a94b85a84dc19245fc03f9b544c70d64bd9f5e08585dcccb38157cace5700d
Captured 2026-10-04T11:55:45.577Z. Review or improve this contract on GitHub.
These blocks show the complete MCP descriptors captured from serving Rails. Security schemes and resource URIs can differ by connected host.
App descriptor
{
"name": "compositions_get_draft",
"title": "Load the saved composition edit document",
"description": "Restores the saved working draft when the editor opens (so prior trims/cuts come back after a reload), by recording_id for the per-recording draft or by composition_id. Returns { draft: nil } when none exists. This is a REPAIRING read, not a pure one: when the caller has edit authority and the Episode's resting suggestion was authored under a superseded Project objective, this read may admit ONE bounded, deduplicated, paid recommendation refresh for exactly this Episode (a durable admission receipt on the synthesis manifest plus one background job). That is its only side effect — it never edits a Program, creates a Clip, starts a Render, publishes, or creates a public link, and read-only callers admit nothing.",
"inputSchema": {
"type": "object",
"properties": {
"recording_id": {
"type": "string"
},
"composition_id": {
"type": "string"
}
},
"required": [],
"additionalProperties": false
},
"annotations": {
"title": "Load the saved composition edit document",
"readOnlyHint": false,
"destructiveHint": false,
"idempotentHint": true,
"openWorldHint": false
},
"securitySchemes": [
{
"type": "noauth"
}
],
"_meta": {
"securitySchemes": [
{
"type": "noauth"
}
],
"ui": {
"visibility": [
"app"
]
},
"openai/widgetAccessible": true,
"openai/visibility": "private"
},
"outputSchema": {
"type": "object",
"properties": {
"draft": {
"type": [
"boolean",
"null"
]
},
"composition_id": {
"type": "string"
},
"revision": {
"type": "string",
"description": "Opaque draft CAS token."
},
"structural_revision": {
"type": "integer",
"description": "Monotonic Episode structure revision."
},
"workspace_navigation": {
"type": "object",
"additionalProperties": false,
"required": [
"schema",
"target",
"route"
],
"properties": {
"schema": {
"type": "string",
"enum": [
"bitterclip.workspace-nav.v1"
]
},
"target": {
"type": "object",
"additionalProperties": false,
"required": [
"kind",
"id"
],
"properties": {
"kind": {
"type": "string",
"enum": [
"episode",
"clip"
]
},
"id": {
"type": "string",
"pattern": "^comp_[A-Za-z0-9_-]{1,120}$"
}
}
},
"route": {
"type": "object",
"additionalProperties": false,
"required": [
"name",
"mode"
],
"properties": {
"name": {
"type": "string",
"enum": [
"composition"
]
},
"mode": {
"type": "string",
"enum": [
"review"
]
}
}
}
}
},
"title": {
"type": "string"
},
"description": {
"type": [
"string",
"null"
]
},
"episode_date": {
"type": [
"string",
"null"
],
"description": "Current authoritative Episode date, when set."
},
"episode_date_basis": {
"type": [
"string",
"null"
],
"description": "How the current Episode date was established."
},
"episode_date_label": {
"type": [
"string",
"null"
],
"description": "Compact human-readable current Episode date."
},
"aspect_ratio": {
"type": "string"
},
"captions_enabled": {
"type": "boolean"
},
"status": {
"type": "string"
},
"segments": {
"type": "array"
},
"overlays": {
"type": "array"
},
"editor_document": {
"type": "object",
"description": "Versioned application document consumed by the shared editor."
}
},
"required": [],
"additionalProperties": true
}
}Errors
[
"recording_not_found",
"composition_not_found",
"episode_changed_during_read",
"invalid_input"
]Examples
[]