Commit an integrated editorial edit to the saved project composition
Apply timeline operations and complete the run in one atomic step, the last step of an editorial run. It needs a prior integrate call and the current run revision; further edits need a new run.
API key auth. Prefix cf_live_ for production orgs, cf_test_ for sandbox.
In: header
Path Parameters
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/string/apply" \ -H "Content-Type: application/json" \ -d '{ "runExpectedRevision": "revision-1", "composition": { "projectId": "project-1", "clientId": "editor", "sequence": 1, "commandId": "editor:1", "expectedRevision": 0, "operations": [ { "operationId": "remove-1", "operation": { "type": "clip.remove", "clipId": "clip-1" } } ] } }'{ "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 } }}Adopt a legacy authored brief into the shared owner POST
Move an older brief made through POST /v1/briefs into the editorial flow under the same id, so editorial runs can use it. Clip-derived briefs are not eligible, and adopting a brief twice is a conflict.
Cancel an active editorial run POST
End an editorial run that will not be applied, leaving the composition unchanged. Send the run's expectedRevision; only active runs can be cancelled, and continuing the work needs a new run.