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 185ad8f4adfa21ae055b5bd6f97968d9044480d1
Public contract commit d2ab41fab4088c07c0f6b924fa4f3c63481b936a
Public contract SHA-256 2365c73c2aef7b9f85e8434d8e29ea29f40824bc3a46a72a356155ea328757fc
Captured 2026-10-29T03:35:56.855Z. 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
[]