Create a shared editorial run
Start an editorial pass that pins a brief, source frame ranges, and a beat outline. Later inspections, findings, and the final edit stay inside those ranges; call it after creating the brief and reading the source.
API key auth. Prefix cf_live_ for production orgs, cf_test_ for sandbox.
In: header
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
application/json
application/json
application/json
curl -X POST "https://example.com/v1/editorial/runs" \ -H "Content-Type: application/json" \ -d '{ "commandId": "create-run-1", "briefId": "brief-1", "inputs": [ { "range": { "mediaId": "media-1", "representationIdentity": "sha256:source", "representationRevision": "1", "frames": [ 0, 1 ], "timebaseNum": 30, "timebaseDen": 1 } } ], "outline": [ { "id": "beat-1", "purpose": "Opening shot", "order": 0, "targetDurationSec": 1 } ], "allowanceUsdMicros": 0 }'{ "error": { "code": "string", "message": "string", "contract": "string", "contractVersion": "string", "details": { "property1": null, "property2": null } }}{ "error": { "code": "string", "message": "string", "contract": "string", "contractVersion": "string", "details": { "property1": null, "property2": null } }}{ "x402Version": 2, "accepts": [ {} ], "error": "string"}{ "error": { "code": "string", "message": "string", "contract": "string", "contractVersion": "string", "details": { "property1": null, "property2": null } }}{ "error": { "code": "string", "message": "string", "contract": "string", "contractVersion": "string", "details": { "property1": null, "property2": null } }}{ "error": { "code": "string", "message": "string", "contract": "string", "contractVersion": "string", "details": { "property1": null, "property2": null } }}{ "error": { "code": "string", "message": "string", "contract": "string", "contractVersion": "string", "details": { "property1": null, "property2": null } }}{ "error": { "code": "string", "message": "string", "contract": "string", "contractVersion": "string", "details": { "property1": null, "property2": null } }}{ "error": { "code": "string", "message": "string", "contract": "string", "contractVersion": "string", "details": { "property1": null, "property2": null } }}Create a shared authored brief POST
Write the creative direction for a video edit: goal, audience, platform, duration, tone, and more. This is the first step of an editorial run, which needs the returned brief id; a commandId makes retries safe.
Record an evidence-backed finding on an editorial run POST
Save an observation about a source range during an active run, citing 1 to 12 evidence ids and an outcome of useful, nothing_useful, or uncertain. Findings feed the integrate step, which selects or omits them.