API Operations Reference: Endpoints and Scopes

FoxCue API endpoints for brands, brand kits, sources, scripts, outputs, jobs, recordings, media, editing runs and compositions, with their required scopes.

This page lists the core FoxCue API operations and the scope each one needs. The full, authoritative list, with request schemas, is in your server's OpenAPI schema at GET /api/v1/openapi.json. Knowledge, strategy and performance operations are documented there.

Lists accept limit (1–100, default 50) and offset. Script edits need expected_updated_at, and brand kit approval needs expected_revision.

Brands and brand kits

Method & pathScopeDescription
GET/POST /projects, GET/PATCH/DELETE /projects/{id}brands:read / brands:writeBrands (products)
GET/POST /offerings, /ctas, /styles (and /{id})brands:read / brands:writeOfferings, calls to action, writing styles
GET /projects/{id}/brand-kitbrands:readRead the saved brand kit, revision and provenance
PATCH /projects/{id}/brand-kitbrands:writeApprove the brand kit, with a revision check
POST /projects/{id}/brand-kit/import-websitebrands:writeImport an editable website candidate (doesn't approve it)
POST /projects/{id}/brand-kit/import-imagebrands:writeImport a raster image candidate (doesn't approve it)
POST /projects/{id}/brand-kit/import-logobrands:writeCopy a public raster logo into your workspace

Sources

Method & pathScopeDescription
/collections, /knowledge (CRUD)sources:read / sources:writeCollections and knowledge documents

Scripts

Method & pathScopeDescription
/scripts (CRUD)scripts:read / scripts:writeScripts. Body up to 200,000 characters.
GET /script-versions, GET /script-versions/{id}scripts:readVersion snapshots
POST /script-versionsscripts:writeSave a manual snapshot

Jobs

Method & pathScopeDescription
POST /jobsgeneration:writeQueue script.generate, script.generate_long, article.generate, slides.generate or video.render
GET /jobs, GET /jobs/{id}jobs:readList and poll jobs
POST /jobs/{id}/canceljobs:writeCancel queued work, or request cooperative cancellation

See Jobs and idempotency.

Outputs

Method & pathScopeDescription
GET /artifactsoutputs:readList saved outputs. Filter with script_id, composition_id, kind.
GET /artifacts/{id}outputs:readRead output metadata and content

Recordings and media

Method & pathScopeDescription
GET /recordings, GET /recordings/{id}media:readRecording sessions
POST /recordingsmedia:writeCreate a recording session
POST /recordings/{id}/sources/uploadmedia:writeUpload a track. Use an upload_id UUID for retries.
GET /media?key=media:readDownload owned media
GET /director/media, POST /director/mediamedia:read / media:writeList or upload reusable screenshots and recordings (API uploads up to 64 MiB)
GET /director/blocksmedia:readReusable animation blocks and their parameters

Editing runs and compositions

Method & pathScopeDescription
GET /editing/stylesmedia:readEditing styles
POST /editing/styles/{ref}/copiesmedia:writeSave a customized copy of an editing style
POST /editing/runsgeneration:write + media:writeEdit a recording with its original voice, timed captions, Library cutaways and motion blocks
GET /editing/runs, GET /editing/runs/{id}jobs:readEditing runs and their progress, decisions and checked output
POST /editing/runs/{id}/cancel, /retry, /rebuildgeneration:writeCancel, resume or rebuild an edit
POST /director/from-recordingmedia:writeOpen a recording as an editable composition (no AI)
GET /compositions/{id}outputs:readRead a composition and its timeline
POST /compositions/{id}/opsmedia:writeApply reversible edits against a base revision
POST /compositions/{id}/rendergeneration:writeRender a composition to a saved video
GET /compositions/render-jobs/{jobId}jobs:readPoll a composition render

On this page