Authentication
Send an API key as a bearer token on every call:GET /health, POST /auth/email and POST /auth/verify need no key.
Versioning
The API is versioned by date, like Stripe. Paths carry no version. Instead, every request names the version it was written against in a header:2026-11-03.
- Pin a version. Send the header on every request, so your code keeps working when a new version ships. A request without it gets the latest version.
- Every response says which version served it, in its own
VidJutsu-Versionheader. - An unknown version is a 400
invalid_requestwithreason: "unknown_version"and thelatest_version. - What gets a new version. A change that could break existing code ships under a new date, and requests that name an older date keep the old behavior. Additive changes (new operations, new optional fields, new response fields) don’t get a new version and reach every version, so read responses leniently.
apiVersion to pin another one.
Conventions
- JSON in, JSON out, with snake_case fields. Send
Content-Type: application/json. The one exception isPOST /media, which also takes up to 4 MB of raw bytes asapplication/octet-stream. - Idempotency. Send an
Idempotency-Keyheader on every write. A retry with the same key returns the first result instead of doing the work twice. For edits, also sendexpected_head. - Times in timelines are exact: whole seconds, decimal strings (
"12.5") or fractions. See Times. - Renders are background jobs, and so are previews, transcripts, Studio Sound, frame and check. Starting one answers with a job; poll
GET /jobs/{job_id}, or follow the project’s live stream. - Who is acting. Send
VidJutsu-Client: <name>(for exampleClaude Code) and history, Activity and change notices name you that way. Without it, you’re named by your API key’s name. It’s display only and grants nothing. - ETags.
GET /projects/{project}andGET /projects/{project}/headsend anETag. Send it back asIf-None-Matchand an unchanged project answers 304 with no body. - Errors have a stable
code, amessage, and fields that tell you how to fix them. See Errors. - Every operation is also an MCP tool with the same name (the
operationIdon each page). See MCP.