{"openapi":"3.1.1","info":{"title":"Blitframe API","description":"Blitframe renders a composition, the description of a video\u0027s layers and how they move, to MP4, HLS or image frames. A composition can come from After Effects, from your own code or from an AI agent.\n\nEvery endpoint has a page in the [API reference](/reference/blitframe) with its fields and a request in nine languages. **Try it** sends the request from your browser with your API key.\n\n## Authentication\n\nAn API key identifies your workspace. Create one in the [console](https://app.codeartworks.com/blitframe/api-keys), and send it on every request:\n\n\u0060\u0060\u0060\nAuthorization: Bearer blitframe_...\n\u0060\u0060\u0060\n\n## How it works\n\n| Object | What it is |\n|---|---|\n| Project | The place where one piece of motion graphics lives: its composition, its files and every saved version of them. Its \u0060headVersionId\u0060 is the current version, which edits and renders use unless you name another. |\n| Version | A snapshot of every file of a project. Each edit saves a new one. |\n| Render | The job that makes the finished output from one version: an MP4, an HLS stream or image frames. |\n\n1. \u0060POST /v1/projects\u0060 creates an empty project.\n2. \u0060POST /v1/projects/{projectId}/versions\u0060 edits the project: the files you send are saved as a new version. Send the composition, a file named \u0060data.json\u0060, and the files it uses.\n3. The response says whether the version is \u0060renderable\u0060. If it is not, \u0060problems\u0060 lists what to fix. Send the fix in another edit.\n4. \u0060POST /v1/renders\u0060 with the \u0060projectId\u0060 queues a render.\n5. \u0060GET /v1/renders/{renderId}\u0060 returns the render: its \u0060status\u0060 and, once it has succeeded, the links to its output. Send the \u0060Prefer: wait=50\u0060 header to have the response held until the render finishes, for up to 50 seconds. Or have a [webhook](/docs/blitframe/webhooks) tell you.\n\n[Quickstart: Code](/docs/blitframe/quickstart) walks through these steps. The [composition format](/docs/blitframe/data-json-format) lists everything a composition can hold.\n\n| To make | Use |\n|---|---|\n| One-off videos that swap text or pictures, such as one per row of a data sheet | \u0060POST /v1/projects/{projectId}/renders/batch\u0060. See [many videos from a data sheet](/docs/blitframe/renders#many-videos-from-a-data-sheet). |\n| The same video in another form that you keep editing, such as in Spanish or vertical for phones | \u0060POST /v1/projects/{projectId}/variations\u0060. See [Variations](/docs/blitframe/variations). |\n\n## Conventions\n\n| Topic | Rule |\n|---|---|\n| Format | JSON bodies with case-sensitive camelCase fields and values (an unknown or repeated field, or an unknown query parameter, is \u0060400 invalid_request\u0060), ISO 8601 times. Ids are UUIDs, except render link ids and library font slugs. |\n| Enums | camelCase strings. Webhook event types are dotted, such as \u0060render.succeeded\u0060. |\n| Lists | \u0060{ \u0022items\u0022: [...], \u0022next\u0022: \u0022...\u0022 }\u0060. Pass \u0060next\u0060 as \u0060before\u0060 for the next page (as \u0060after\u0060 for project files, variations and library fonts). \u0060next\u0060 is \u0060null\u0060 on the last page. \u0060limit\u0060 sets the page size, 1 to 1,000. |\n| Errors | \u0060{ \u0022error\u0022: { \u0022code\u0022: \u0022...\u0022, \u0022message\u0022: \u0022...\u0022 } }\u0060. Have your code check \u0060code\u0060, not \u0060message\u0060. See [errors](/docs/blitframe/errors). |\n| Retries | Send an \u0060Idempotency-Key\u0060 header when you create a project, variation or upload, edit, import a ZIP or render, and the same key when you retry. See [retrying safely](/docs/blitframe/api#retrying-safely). |\n| Rate limit | Requests per minute per workspace, set by your plan. Over it, you get \u0060429\u0060 with a \u0060Retry-After\u0060 header. See [limits](/docs/blitframe/limits#api-and-workspace). |\n\n## AI agents\n\nAI agents use the same operations through the MCP server at \u0060/mcp\u0060. An agent signs in with your Code Artworks account and needs no API key. See [Quickstart: AI Agent](/docs/blitframe/quickstart-agent) and [MCP for agents](/docs/blitframe/mcp).","version":"1.0.0"},"servers":[{"url":"https://blitframe.codeartworks.com"}],"paths":{"/v1/api-keys":{"get":{"tags":["API keys"],"summary":"List API keys","description":"The workspace\u0027s active keys, newest first, with their prefix, who created each, when it expires and when it was last used. Secrets and expired keys are never listed. A workspace has at most 25 keys, so they fit one page: next is always null.","operationId":"listApiKeys","responses":{"400":{"description":"Bad Request","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Too Many Requests","headers":{"Retry-After":{"description":"The number of seconds to wait before trying again.","schema":{"type":"string"}},"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"200":{"description":"OK","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOfApiKeyDto"}}}}}}},"/v1/api-keys/{apiKeyId}":{"delete":{"tags":["API keys"],"summary":"Revoke an API key","description":"Requests that use the key fail from now on. A request authenticated with an API key can revoke only that same key, and one sent by an app connected with a Code Artworks account (a signed-in MCP connection) only the keys its person created; anything else gets 403 key_cannot_revoke_keys and is revoked in the console. New keys are created in the console only.","operationId":"revokeApiKey","parameters":[{"name":"apiKeyId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"400":{"description":"Bad Request","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Too Many Requests","headers":{"Retry-After":{"description":"The number of seconds to wait before trying again.","schema":{"type":"string"}},"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"204":{"description":"No Content","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}}}}}},"/v1/versions/{versionId}/layers":{"get":{"tags":["Layers"],"summary":"List editable layers","description":"The text, image and video layers of the version\u0027s data.json, each with the layer id that replacements use: in a render or a render batch for a changed video alone, or in an edit or a batch of variations, saved as a new version. Also the composition\u0027s width and height, its fonts, the version\u0027s audio files and its default soundtrack. A text, name, font or asset id longer than 16,383 characters is listed cut to its first 16,383, ending with \u0027\u2026\u0027.","operationId":"listEditableLayers","parameters":[{"name":"versionId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"400":{"description":"Bad Request","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Too Many Requests","headers":{"Retry-After":{"description":"The number of seconds to wait before trying again.","schema":{"type":"string"}},"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"200":{"description":"OK","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LayersDto"}}}}}}},"/v1/feedback":{"post":{"tags":["Feedback"],"summary":"Send feedback","description":"Tells Blitframe what was broken, missing or confusing. Nobody answers it; for help with a render or version, report a problem. message is at most 2,000 characters and tool at most 100. A workspace can send 10 an hour, and one on the free trial 5 a day.","operationId":"sendFeedback","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SendFeedbackRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Too Many Requests","headers":{"Retry-After":{"description":"The number of seconds to wait before trying again.","schema":{"type":"string"}},"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"201":{"description":"Created","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SentFeedbackDto"}}}},"415":{"description":"Unsupported Media Type: the body must be JSON.","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v1/fonts":{"get":{"tags":["Fonts"],"summary":"List library fonts","description":"Fonts every composition can use without uploading them, ordered by slug. q matches part of the family, style or slug, and lists the family it names first, then families that start with it, then the rest. language keeps the fonts that support a language, named by its Google Fonts language id: a language code and its script, such as pl_Latn, el_Grek, he_Hebr or ja_Jpan; name several, separated by commas or as repeated language parameters (up to 20), to keep the fonts that support all of them. category keeps the fonts of one style (serif, sansSerif, display, handwriting, monospace); fonts without a category are left out when it is set. When next is not null, pass it as after for the next page. A font\u0027s preview image is on GET /v1/fonts/{slug}.","operationId":"listLibraryFonts","parameters":[{"name":"q","in":"query","schema":{"type":"string"}},{"name":"language","in":"query","schema":{"type":"array","items":{"type":"string"}}},{"name":"category","in":"query","schema":{"$ref":"#/components/schemas/FontCategory"}},{"name":"limit","in":"query","schema":{"maximum":1000,"minimum":1,"type":"integer","format":"int32","default":100}},{"name":"after","in":"query","schema":{"type":"string"}}],"responses":{"400":{"description":"Bad Request","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Too Many Requests","headers":{"Retry-After":{"description":"The number of seconds to wait before trying again.","schema":{"type":"string"}},"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"200":{"description":"OK","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOfFontListItem"}}}}}}},"/v1/fonts/{slug}":{"get":{"tags":["Fonts"],"summary":"Get a library font","description":"One library font by slug, with its data.json declaration, license, the language ids of the languages it supports, its category and previewUrl, a PNG of the font\u0027s name set in the font, valid for an hour.","operationId":"getLibraryFont","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string"},"example":"montserrat-bold"}],"responses":{"400":{"description":"Bad Request","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Too Many Requests","headers":{"Retry-After":{"description":"The number of seconds to wait before trying again.","schema":{"type":"string"}},"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"200":{"description":"OK","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FontDto"}}}}}}},"/v1/problem-reports":{"post":{"tags":["Problem reports"],"summary":"Report a problem","description":"Tells Blitframe support about a problem, optionally with the render or version it concerns. message is at most 2,000 characters. A workspace can send 10 reports an hour, and one on the free trial 3 a day; a person signed in can send 20 a day across their workspaces.","operationId":"reportProblem","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateProblemReportRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Too Many Requests","headers":{"Retry-After":{"description":"The number of seconds to wait before trying again.","schema":{"type":"string"}},"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"201":{"description":"Created","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemReportDto"}}}},"415":{"description":"Unsupported Media Type: the body must be JSON.","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v1/problem-reports/{reportId}":{"get":{"tags":["Problem reports"],"summary":"Get a problem report","description":"resolution holds support\u0027s answer once there is one. status is open until support marks the report resolved, so an answered report can still be open while support waits to hear back.","operationId":"getProblemReport","parameters":[{"name":"reportId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"400":{"description":"Bad Request","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Too Many Requests","headers":{"Retry-After":{"description":"The number of seconds to wait before trying again.","schema":{"type":"string"}},"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"200":{"description":"OK","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProblemReportDto"}}}}}}},"/v1/projects":{"get":{"tags":["Projects"],"summary":"List projects","description":"The workspace\u0027s projects, newest first, each with the head version of its main variation: 100 a page unless limit asks for another number, up to 1,000. q searches project names. copiedFromVersionId lists the copies made of that version, and copiedFromProjectId the copies made of any version of that project while it exists. When next is not null, pass it as before for older projects. headVersionId is null and renderable null while a project is empty. copiedFromVersionId is the version a copy was made from, kept after that version\u0027s project is deleted, or null. thumbnailUrl is the poster of the latest succeeded video render without replacements, or null.","operationId":"listProjects","parameters":[{"name":"q","in":"query","schema":{"type":"string"}},{"name":"copiedFromVersionId","in":"query","schema":{"type":"string","format":"uuid"}},{"name":"copiedFromProjectId","in":"query","schema":{"type":"string","format":"uuid"}},{"name":"limit","in":"query","schema":{"maximum":1000,"minimum":1,"type":"integer","format":"int32","default":100}},{"name":"before","in":"query","schema":{"type":"string"}}],"responses":{"400":{"description":"Bad Request","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Too Many Requests","headers":{"Retry-After":{"description":"The number of seconds to wait before trying again.","schema":{"type":"string"}},"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"200":{"description":"OK","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOfProjectDto"}}}}}},"post":{"tags":["Projects"],"summary":"Create a project","description":"Creates an empty project, or one that starts from a ZIP or a copy of a version. Pass zipUploadId, a completed upload whose fileName ends in .zip, to import it as version 1; a ZIP with font files also needs fontLicenseAccepted true. The import is waited for like a package import: 201 with the project, the import\u0027s error (the project is not kept), or 202 with the import of a large ZIP still importing. At most 10 imports per workspace wait or run at once (409 import_limit). Pass fromVersionId, any version of the workspace, to duplicate it: the new project starts with that version\u0027s files, soundtrack and name, without its history, and its copiedFromVersionId names that version. Pass fromExportId, a ready version export of the workspace, to import its ZIP without downloading it, as zipUploadId would (404 not_found for an unknown or expired export, 409 export_not_ready before it is ready). Send at most one of zipUploadId, fromVersionId and fromExportId. The project starts with one variation, main. A ZIP whose files total more than the plan\u0027s project size (limits.maxProjectBytes in the usage) fails with 403 project_too_large, and so does a copy that large unless a head of its source project is at least as large. Send an Idempotency-Key header (1 to 200 characters) to make retries safe: for 24 hours the same request with the same key answers with what the first one made and its status code, with the header Idempotent-Replayed: true; the same key with a different request is 422 idempotency_key_reused while what the first one made exists, and while the first request is still running 409 idempotency_key_in_use, except that the retry of a ZIP import waits for that import, as the first request does. A request that failed made nothing, so it can be sent again with its key.","operationId":"createProject","parameters":[{"name":"Prefer","in":"header","schema":{"type":"string"},"example":"wait=50"},{"name":"Idempotency-Key","in":"header","description":"Optional. A unique key you choose for this one request, 1 to 200 characters, such as a new UUID. Send the same key again only to retry this request after a lost answer: the retry answers with what the first one made instead of doing it again. Use a new key for every other request; the key in the samples is only an example.","schema":{"maxLength":200,"minLength":1,"type":"string"},"example":"70337cac-0dc6-34ce-8179-c31f144c64bf"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateProjectRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Too Many Requests","headers":{"Retry-After":{"description":"The number of seconds to wait before trying again.","schema":{"type":"string"}},"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"201":{"description":"Created","headers":{"Preference-Applied":{"description":"The wait honoured, such as wait=50, when Prefer: wait was sent.","schema":{"type":"string"}},"Idempotent-Replayed":{"description":"true when the answer replays an earlier request sent with the same Idempotency-Key.","schema":{"type":"string"}},"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectDto"}}}},"202":{"description":"Accepted","headers":{"Preference-Applied":{"description":"The wait honoured, such as wait=50, when Prefer: wait was sent.","schema":{"type":"string"}},"Idempotent-Replayed":{"description":"true when the answer replays an earlier request sent with the same Idempotency-Key.","schema":{"type":"string"}},"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ZipImportDto"}}}},"402":{"description":"Payment Required","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Payload Too Large","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Unprocessable Entity","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"Service Unavailable","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"415":{"description":"Unsupported Media Type: the body must be JSON.","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v1/projects/{projectId}":{"get":{"tags":["Projects"],"summary":"Get a project","operationId":"getProject","parameters":[{"name":"projectId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"400":{"description":"Bad Request","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Too Many Requests","headers":{"Retry-After":{"description":"The number of seconds to wait before trying again.","schema":{"type":"string"}},"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"200":{"description":"OK","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectDto"}}}}}},"patch":{"tags":["Projects"],"summary":"Rename a project","operationId":"renameProject","parameters":[{"name":"projectId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenameRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Too Many Requests","headers":{"Retry-After":{"description":"The number of seconds to wait before trying again.","schema":{"type":"string"}},"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"200":{"description":"OK","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProjectDto"}}}},"415":{"description":"Unsupported Media Type: the body must be JSON.","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"delete":{"tags":["Projects"],"summary":"Delete a project","description":"Deletes the project, its variations, versions and renders. Cancel active renders first.","operationId":"deleteProject","parameters":[{"name":"projectId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"400":{"description":"Bad Request","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Too Many Requests","headers":{"Retry-After":{"description":"The number of seconds to wait before trying again.","schema":{"type":"string"}},"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"204":{"description":"No Content","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}}},"409":{"description":"Conflict","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v1/projects/{projectId}/files":{"get":{"tags":["Projects"],"summary":"List project files","description":"Every distinct file across the project\u0027s versions: a path whose content changed appears once per content. versionId is the latest version that holds it. Filter by kind (image, video, audio, font, json, composition, model) and q (part of the path, any case). Pass next as after to page.","operationId":"listProjectFiles","parameters":[{"name":"projectId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"kind","in":"query","schema":{"$ref":"#/components/schemas/BlobKind"}},{"name":"q","in":"query","schema":{"type":"string"}},{"name":"limit","in":"query","schema":{"maximum":1000,"minimum":1,"type":"integer","format":"int32","default":100}},{"name":"after","in":"query","schema":{"type":"string"}}],"responses":{"400":{"description":"Bad Request","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Too Many Requests","headers":{"Retry-After":{"description":"The number of seconds to wait before trying again.","schema":{"type":"string"}},"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"200":{"description":"OK","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOfProjectFileDto"}}}}}}},"/v1/projects/{projectId}/package":{"post":{"tags":["Projects"],"summary":"Import a ZIP into a project","description":"Replaces every file of the project with the ZIP\u0027s files as a new version on the head of a variation: variation, or main when it is left out (404 not_found for a variation the project lacks). With expectedHeadVersionId, the head must still be that version (409 head_moved otherwise); without it, the version goes on whatever the head is when the import finishes. zipUploadId names a completed upload whose fileName ends in .zip (409 upload_incomplete before it is completed). Instead, fromExportId names a ready version export of the workspace, imported without downloading it (404 not_found for an unknown or expired export, 409 export_not_ready before it is ready). The ZIP follows the same rules as a project import, including fontLicenseAccepted true when it contains font files. The request waits up to 50 seconds (Prefer: wait=N changes it, at most 50) and answers 201 with the version, or the import\u0027s error. A ZIP whose files and soundtrack match the head, and whose name does too when it has one, makes no version: the answer is 200 with the head. A larger ZIP still importing then answers 202 with the import; get it until its status is succeeded or failed. At most 10 imports per workspace wait or run at once (409 import_limit). A ZIP whose files total more than the plan\u0027s project size (limits.maxProjectBytes in the usage) is refused with 403 project_too_large, unless the head it replaces is at least as large. Send an Idempotency-Key header (1 to 200 characters) to make retries safe: for 24 hours the same request with the same key answers with what the first one made and its status code, with the header Idempotent-Replayed: true; the same key with a different request is 422 idempotency_key_reused while what the first one made exists, and while the first request is still running 409 idempotency_key_in_use, except that the retry of a ZIP import waits for that import, as the first request does. A request that failed made nothing, so it can be sent again with its key.","operationId":"importZipIntoProject","parameters":[{"name":"projectId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"Prefer","in":"header","schema":{"type":"string"},"example":"wait=50"},{"name":"Idempotency-Key","in":"header","description":"Optional. A unique key you choose for this one request, 1 to 200 characters, such as a new UUID. Send the same key again only to retry this request after a lost answer: the retry answers with what the first one made instead of doing it again. Use a new key for every other request; the key in the samples is only an example.","schema":{"maxLength":200,"minLength":1,"type":"string"},"example":"c1dcd9b4-822c-dc78-383a-ebe93f22e513"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImportPackageRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Too Many Requests","headers":{"Retry-After":{"description":"The number of seconds to wait before trying again.","schema":{"type":"string"}},"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"200":{"description":"OK","headers":{"Preference-Applied":{"description":"The wait honoured, such as wait=50, when Prefer: wait was sent.","schema":{"type":"string"}},"Idempotent-Replayed":{"description":"true when the answer replays an earlier request sent with the same Idempotency-Key.","schema":{"type":"string"}},"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VersionDto"}}}},"201":{"description":"Created","headers":{"Preference-Applied":{"description":"The wait honoured, such as wait=50, when Prefer: wait was sent.","schema":{"type":"string"}},"Idempotent-Replayed":{"description":"true when the answer replays an earlier request sent with the same Idempotency-Key.","schema":{"type":"string"}},"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VersionDto"}}}},"202":{"description":"Accepted","headers":{"Preference-Applied":{"description":"The wait honoured, such as wait=50, when Prefer: wait was sent.","schema":{"type":"string"}},"Idempotent-Replayed":{"description":"true when the answer replays an earlier request sent with the same Idempotency-Key.","schema":{"type":"string"}},"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ZipImportDto"}}}},"402":{"description":"Payment Required","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Payload Too Large","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Unprocessable Entity","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"Service Unavailable","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"415":{"description":"Unsupported Media Type: the body must be JSON.","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v1/projects/{projectId}/package/{importId}":{"get":{"tags":["Projects"],"summary":"Get a ZIP import","description":"Status of an import that answered 202: queued, importing, succeeded (with versionId) or failed (with error: code and message). Send Prefer: wait=N (at most 50) to hold the answer until the import finishes, or N seconds pass.","operationId":"getZipImport","parameters":[{"name":"projectId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"importId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"Prefer","in":"header","schema":{"type":"string"},"example":"wait=50"}],"responses":{"400":{"description":"Bad Request","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Too Many Requests","headers":{"Retry-After":{"description":"The number of seconds to wait before trying again.","schema":{"type":"string"}},"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"200":{"description":"OK","headers":{"Preference-Applied":{"description":"The wait honoured, such as wait=50, when Prefer: wait was sent.","schema":{"type":"string"}},"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ZipImportDto"}}}}}}},"/v1/projects/{projectId}/render-links":{"post":{"tags":["Render links"],"summary":"Create a render link","description":"Creates a public page that plays the head of a variation (variation, or main when it is left out), or the pinned versionId, at one quality. A link that follows a variation names it in variation, and is deleted with the variation. It plays a plain succeeded render of that version and quality (no name, the version\u0027s own soundtrack, the plan\u0027s watermark). Opening the page renders nothing; without such a render, the first visitor to press Play renders it once in your workspace. After two failed or cancelled renders it stops rendering until you render the version yourself or create a new link. At most 50 links per project. A plan without render links is refused with 403 plan_feature.","operationId":"createRenderLink","parameters":[{"name":"projectId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateRenderLinkRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Too Many Requests","headers":{"Retry-After":{"description":"The number of seconds to wait before trying again.","schema":{"type":"string"}},"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"201":{"description":"Created","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderLinkDto"}}}},"403":{"description":"Forbidden","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"415":{"description":"Unsupported Media Type: the body must be JSON.","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"get":{"tags":["Render links"],"summary":"List a project\u0027s render links","description":"The project\u0027s render links, newest first. A project has at most 50, so they fit one page: next is always null.","operationId":"listProjectsRenderLinks","parameters":[{"name":"projectId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"400":{"description":"Bad Request","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Too Many Requests","headers":{"Retry-After":{"description":"The number of seconds to wait before trying again.","schema":{"type":"string"}},"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"200":{"description":"OK","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOfRenderLinkDto"}}}}}}},"/v1/render-links":{"get":{"tags":["Render links"],"summary":"List render links","description":"The workspace\u0027s render links across its projects, newest first. Pass next as before to page.","operationId":"listRenderLinks","parameters":[{"name":"limit","in":"query","schema":{"maximum":1000,"minimum":1,"type":"integer","format":"int32","default":50}},{"name":"before","in":"query","schema":{"type":"string"}}],"responses":{"400":{"description":"Bad Request","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Too Many Requests","headers":{"Retry-After":{"description":"The number of seconds to wait before trying again.","schema":{"type":"string"}},"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"200":{"description":"OK","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOfRenderLinkDto"}}}}}}},"/v1/render-links/{linkId}":{"delete":{"tags":["Render links"],"summary":"Delete a render link","description":"Revokes the link: its page answers 404 from now on. Renders it made stay in your workspace.","operationId":"deleteRenderLink","parameters":[{"name":"linkId","in":"path","required":true,"schema":{"type":"string"},"example":"Xk3v9QmT2bLr8ZpWc5NdYa"}],"responses":{"400":{"description":"Bad Request","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Too Many Requests","headers":{"Retry-After":{"description":"The number of seconds to wait before trying again.","schema":{"type":"string"}},"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"204":{"description":"No Content","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}}}}}},"/v1/renders":{"post":{"tags":["Renders"],"summary":"Create a render","description":"Queues a render of one version and charges its render seconds. Send projectId to render the head of a variation (variation, or main when it is left out), or versionId alone to render that version; an empty project is refused with 422 version_not_renderable. The answer\u0027s sourceVersionId is that version. replacements change text, fonts, images or video by layer for this render only: they are checked against the version at once, and versionId stays null until the render\u0027s own version is made from them, usually within seconds; a new file comes from an upload. The answer and a read of this one render show the replacements as sent; lists, statuses, cancels, batches and webhooks leave them out. A version longer or larger than the plan allows is refused with 403 plan_limit, a codec, encoding setting or 3D model the plan does not include with 403 plan_feature, and a render that does not fit in the workspace\u0027s storage with 403 storage_limit. The body may be up to 64 MB (413 too_large). A body over 1 MB must arrive within two minutes (408 too_slow), and a workspace sends one such body at a time: two more wait their turn, and another is refused with 429 large_body_busy and Retry-After. Send an Idempotency-Key header (1 to 200 characters, no \u0027/\u0027, not starting with \u0027render-link:\u0027) to make retries safe: for 24 hours the same request with the same key answers with the same render, with the header Idempotent-Replayed: true, rendering the version the first request rendered even if the head has moved since; the same key with a different request is 422 idempotency_key_reused.","operationId":"createRender","parameters":[{"name":"Idempotency-Key","in":"header","description":"Optional. A unique key you choose for this one request, 1 to 200 characters, such as a new UUID. Send the same key again only to retry this request after a lost answer: the retry answers with what the first one made instead of doing it again. Use a new key for every other request; the key in the samples is only an example.","schema":{"maxLength":200,"minLength":1,"pattern":"^(?!render-link:)[^/]*$","type":"string"},"example":"8974531c-0835-b000-e7fb-6210e2195bcc"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateRenderRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Too Many Requests","headers":{"Retry-After":{"description":"The number of seconds to wait before trying again.","schema":{"type":"string"}},"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"202":{"description":"Accepted","headers":{"Idempotent-Replayed":{"description":"true when the answer replays an earlier request sent with the same Idempotency-Key.","schema":{"type":"string"}},"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderDto"}}}},"402":{"description":"Payment Required","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"408":{"description":"Request Timeout","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Payload Too Large","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Unprocessable Entity","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"415":{"description":"Unsupported Media Type: the body must be JSON.","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"get":{"tags":["Renders"],"summary":"List renders","description":"Newest first, optionally for one project. Pass next as before to page. Frame links and replacements are left out; get one render for them.","operationId":"listRenders","parameters":[{"name":"projectId","in":"query","schema":{"type":"string","format":"uuid"}},{"name":"limit","in":"query","schema":{"maximum":1000,"minimum":1,"type":"integer","format":"int32","default":50}},{"name":"before","in":"query","schema":{"type":"string"}}],"responses":{"400":{"description":"Bad Request","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Too Many Requests","headers":{"Retry-After":{"description":"The number of seconds to wait before trying again.","schema":{"type":"string"}},"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"200":{"description":"OK","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOfRenderDto"}}}}}}},"/v1/projects/{projectId}/renders/batch":{"post":{"tags":["Renders"],"summary":"Create a batch of renders","description":"Queues up to 1,000 renders of the project\u0027s versions. Each render renders its own versionId (a version of this project), or the head of its own variation; a render that names neither uses the request\u0027s versionId, or else the head of the request\u0027s variation (main when it is left out). Each render also has the options of a single render request (format, quality, codec, encoding, frames, audio, posterFrame, name, replacements). Every render is checked first, its replacements and uploads included; if any is refused, nothing is queued or charged, and the message starts with renders[i]. Each upload can be named by one render only. The answer lists the renders in order, each with the version it uses; it leaves out each render\u0027s replacements and frame links; get one render for them. The plan refusals are those of a single render (403 plan_limit, plan_feature or storage_limit). The body may be up to 64 MB (413 too_large). A body over 1 MB must arrive within two minutes (408 too_slow), and a workspace sends one such body at a time: two more wait their turn, and another is refused with 429 large_body_busy and Retry-After. Send an Idempotency-Key header (1 to 200 characters, no \u0027/\u0027, not starting with \u0027render-link:\u0027) to make retries safe: for 24 hours the same batch with the same key answers with the same renders, with the header Idempotent-Replayed: true; the same key with a different request is 422 idempotency_key_reused.","operationId":"createBatchOfRenders","parameters":[{"name":"projectId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"Idempotency-Key","in":"header","description":"Optional. A unique key you choose for this one request, 1 to 200 characters, such as a new UUID. Send the same key again only to retry this request after a lost answer: the retry answers with what the first one made instead of doing it again. Use a new key for every other request; the key in the samples is only an example.","schema":{"maxLength":200,"minLength":1,"pattern":"^(?!render-link:)[^/]*$","type":"string"},"example":"1ddd7b06-55f6-01e4-a59d-4b1376fdb00f"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateRenderBatchRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Too Many Requests","headers":{"Retry-After":{"description":"The number of seconds to wait before trying again.","schema":{"type":"string"}},"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"202":{"description":"Accepted","headers":{"Idempotent-Replayed":{"description":"true when the answer replays an earlier request sent with the same Idempotency-Key.","schema":{"type":"string"}},"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderBatchDto"}}}},"402":{"description":"Payment Required","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"408":{"description":"Request Timeout","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Payload Too Large","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Unprocessable Entity","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"415":{"description":"Unsupported Media Type: the body must be JSON.","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v1/renders/statuses":{"post":{"tags":["Renders"],"summary":"Get many render statuses","description":"Up to 1,000 renders in one call, in the order asked. Ids that are not this workspace\u0027s renders are listed in notFound. Frame links and replacements are left out; get one render for them.","operationId":"getManyRenderStatuses","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderIdsRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Too Many Requests","headers":{"Retry-After":{"description":"The number of seconds to wait before trying again.","schema":{"type":"string"}},"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"200":{"description":"OK","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderBulkDto"}}}},"415":{"description":"Unsupported Media Type: the body must be JSON.","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v1/renders/cancel":{"post":{"tags":["Renders"],"summary":"Cancel many renders","description":"Cancels up to 1,000 queued or running renders, refunding them like cancelling each one. Returns the renders as they are now, without frame links or replacements; ids that are not this workspace\u0027s renders are listed in notFound.","operationId":"cancelManyRenders","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderIdsRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Too Many Requests","headers":{"Retry-After":{"description":"The number of seconds to wait before trying again.","schema":{"type":"string"}},"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"200":{"description":"OK","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderBulkDto"}}}},"415":{"description":"Unsupported Media Type: the body must be JSON.","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v1/renders/download-archive":{"post":{"tags":["Renders"],"summary":"Create a download archive","description":"Queues one ZIP of up to 1,000 succeeded MP4 or HLS renders, each under its download file name. Get the archive until its status is ready for the download URL. Archives are kept for 24 hours. At most 10 archives per workspace wait or build at once (409 archive_limit). The archive needs room in the workspace\u0027s storage for the videos it copies (403 storage_limit).","operationId":"createDownloadArchive","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateRenderArchiveRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Too Many Requests","headers":{"Retry-After":{"description":"The number of seconds to wait before trying again.","schema":{"type":"string"}},"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"202":{"description":"Accepted","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderArchiveDto"}}}},"403":{"description":"Forbidden","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"415":{"description":"Unsupported Media Type: the body must be JSON.","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v1/renders/download-archive/{archiveId}":{"get":{"tags":["Renders"],"summary":"Get a download archive","description":"Status (queued, building, ready or failed) and, once ready, a download URL valid for up to an hour. Send Prefer: wait=N (at most 50) to hold the answer until the archive is ready or failed, or N seconds pass.","operationId":"getDownloadArchive","parameters":[{"name":"archiveId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"Prefer","in":"header","schema":{"type":"string"},"example":"wait=50"}],"responses":{"400":{"description":"Bad Request","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Too Many Requests","headers":{"Retry-After":{"description":"The number of seconds to wait before trying again.","schema":{"type":"string"}},"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"200":{"description":"OK","headers":{"Preference-Applied":{"description":"The wait honoured, such as wait=50, when Prefer: wait was sent.","schema":{"type":"string"}},"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderArchiveDto"}}}}}}},"/v1/renders/{renderId}":{"get":{"tags":["Renders"],"summary":"Get a render","description":"Status and, once succeeded, download links valid for an hour. A running HLS render whose playback is streaming already has a playable hlsUrl. This is the only response that includes frameUrls; lists and webhooks leave them out. Webhooks also leave out hlsUrl. replacements, as sent, appear only here and in the answer to creating the render; lists, statuses, cancels, batches and webhooks leave them out. Send Prefer: wait=N (at most 50) to hold the answer until the render finishes or N seconds pass.","operationId":"getRender","parameters":[{"name":"renderId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"Prefer","in":"header","schema":{"type":"string"},"example":"wait=50"}],"responses":{"400":{"description":"Bad Request","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Too Many Requests","headers":{"Retry-After":{"description":"The number of seconds to wait before trying again.","schema":{"type":"string"}},"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"200":{"description":"OK","headers":{"Preference-Applied":{"description":"The wait honoured, such as wait=50, when Prefer: wait was sent.","schema":{"type":"string"}},"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderDto"}}}}}},"delete":{"tags":["Renders"],"summary":"Delete a render","description":"Deletes a finished render and its output files. Cancel queued or running renders first.","operationId":"deleteRender","parameters":[{"name":"renderId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"400":{"description":"Bad Request","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Too Many Requests","headers":{"Retry-After":{"description":"The number of seconds to wait before trying again.","schema":{"type":"string"}},"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"204":{"description":"No Content","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}}},"409":{"description":"Conflict","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v1/renders/{renderId}/cancel":{"post":{"tags":["Renders"],"summary":"Cancel a render","description":"Stops a queued or running render and refunds it, unless it is an HLS render that already started streaming or the balance has been reset since it was queued. A render already cancelled answers 200 as it is; one that already succeeded or failed answers 409 render_finished. The answer leaves out the render\u0027s replacements.","operationId":"cancelRender","parameters":[{"name":"renderId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"400":{"description":"Bad Request","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Too Many Requests","headers":{"Retry-After":{"description":"The number of seconds to wait before trying again.","schema":{"type":"string"}},"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"200":{"description":"OK","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RenderDto"}}}}}}},"/v1/renders/{renderId}/html":{"post":{"tags":["Renders"],"summary":"Export an HTML5 ad","description":"Queues an HTML5 ad of a succeeded H.264 MP4 or HLS render for an ad network. Get the ad until its status is ready for the download URL. platform is generic unless named. adform, appLovin and unityAds require clickUrl, where a tap or click goes. interaction is video (the ad plays) or tapToContinue (it asks for a tap first); playable networks (appLovin, unityAds, googleAppCampaigns, meta, tikTok, pangle, mintegral, moloco, liftoff) require tapToContinue, their default. The whole ad must be under 5 MB; for theTradeDesk the video must be below 1.1 MB, or at most 2.2 MB with tapToContinue. Render at a lower quality for longer videos. A video over those limits is refused at once (413 too_large); an ad that still comes out too large fails with too_large. A request while the same ad of this render is queued, being made, or ready with more than an hour left before it expires returns that ad: 200 when it is ready, otherwise 202. Ads are kept for 24 hours. At most 10 per workspace wait or are made at once (409 html_ad_limit).","operationId":"exportHtml5Ad","parameters":[{"name":"renderId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HtmlAdRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Too Many Requests","headers":{"Retry-After":{"description":"The number of seconds to wait before trying again.","schema":{"type":"string"}},"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"200":{"description":"OK","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HtmlAdDto"}}}},"202":{"description":"Accepted","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HtmlAdDto"}}}},"409":{"description":"Conflict","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Payload Too Large","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"415":{"description":"Unsupported Media Type: the body must be JSON.","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v1/renders/{renderId}/html/{htmlAdId}":{"get":{"tags":["Renders"],"summary":"Get an HTML5 ad","description":"Status (queued, building, ready or failed) and, once ready, a download URL valid for up to an hour: one index.html or an ad.zip, as fileName says. Send Prefer: wait=N (at most 50) to hold the answer until the ad is ready or failed, or N seconds pass.","operationId":"getHtml5Ad","parameters":[{"name":"renderId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"htmlAdId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"Prefer","in":"header","schema":{"type":"string"},"example":"wait=50"}],"responses":{"400":{"description":"Bad Request","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Too Many Requests","headers":{"Retry-After":{"description":"The number of seconds to wait before trying again.","schema":{"type":"string"}},"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"200":{"description":"OK","headers":{"Preference-Applied":{"description":"The wait honoured, such as wait=50, when Prefer: wait was sent.","schema":{"type":"string"}},"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HtmlAdDto"}}}}}}},"/v1/uploads":{"post":{"tags":["Uploads"],"summary":"Create an upload","description":"fileName must have a supported file extension, or .zip for a project ZIP; its kind\u0027s size limit applies (413 too_large). Up to 100 MB: one presigned PUT URL, valid 1 hour. Above 100 MB (up to 8 GB): a multipart upload with a presigned URL per 64 MB part; PUT each part and keep each response\u0027s ETag. Multipart uploads stay open 24 hours; part URLs last 1 hour and can be issued again. Each URL accepts exactly its declared number of bytes. Then complete the upload, and use its id once: in an edit, a new project, a ZIP import, or a replacement\u0027s file in a render or batch render. To create many uploads in one call, use POST /v1/uploads/batch. A workspace can hold 1,000 unused uploads; another gets 409 upload_limit. sizeBytes over the plan\u0027s project size (limits.maxProjectBytes in the usage) is refused with 403 project_too_large, except a ZIP, which is refused here only when it could not be imported over any head of the workspace; otherwise its import checks it. sizeBytes that does not fit in the workspace\u0027s storage is refused with 403 storage_limit. Send an Idempotency-Key header (1 to 200 characters) to make retries safe: for 24 hours the same request with the same key answers with the same upload, with fresh URLs and the header Idempotent-Replayed: true, until it is used, deleted or expires; the same key with a different request is 422 idempotency_key_reused.","operationId":"createUpload","parameters":[{"name":"Idempotency-Key","in":"header","description":"Optional. A unique key you choose for this one request, 1 to 200 characters, such as a new UUID. Send the same key again only to retry this request after a lost answer: the retry answers with what the first one made instead of doing it again. Use a new key for every other request; the key in the samples is only an example.","schema":{"maxLength":200,"minLength":1,"type":"string"},"example":"8a4f4bd6-0365-2c1f-a5a8-ea60e2a03473"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateUploadRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Too Many Requests","headers":{"Retry-After":{"description":"The number of seconds to wait before trying again.","schema":{"type":"string"}},"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"201":{"description":"Created","headers":{"Idempotent-Replayed":{"description":"true when the answer replays an earlier request sent with the same Idempotency-Key.","schema":{"type":"string"}},"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UploadDto"}}}},"402":{"description":"Payment Required","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Payload Too Large","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Unprocessable Entity","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"415":{"description":"Unsupported Media Type: the body must be JSON.","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v1/uploads/batch":{"post":{"tags":["Uploads"],"summary":"Create many uploads","description":"One upload per file in files (1 to 100, each with fileName and sizeBytes), answered as uploads in the order sent, each as Create an upload answers it; a project ZIP is created on its own with Create an upload. All or nothing: a file that is refused refuses the call, with the same errors as Create an upload, and a call that would take the workspace past 1,000 unused uploads creates none and gets 409 upload_limit. An Idempotency-Key header makes retries safe as on Create an upload, answering with the same uploads.","operationId":"createManyUploads","parameters":[{"name":"Idempotency-Key","in":"header","description":"Optional. A unique key you choose for this one request, 1 to 200 characters, such as a new UUID. Send the same key again only to retry this request after a lost answer: the retry answers with what the first one made instead of doing it again. Use a new key for every other request; the key in the samples is only an example.","schema":{"maxLength":200,"minLength":1,"type":"string"},"example":"501d9f6e-eafe-8012-a179-6f60c068c02f"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateUploadsRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Too Many Requests","headers":{"Retry-After":{"description":"The number of seconds to wait before trying again.","schema":{"type":"string"}},"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"201":{"description":"Created","headers":{"Idempotent-Replayed":{"description":"true when the answer replays an earlier request sent with the same Idempotency-Key.","schema":{"type":"string"}},"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UploadsDto"}}}},"402":{"description":"Payment Required","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Payload Too Large","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Unprocessable Entity","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"415":{"description":"Unsupported Media Type: the body must be JSON.","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v1/uploads/{uploadId}":{"get":{"tags":["Uploads"],"summary":"Get an upload","description":"The upload\u0027s fileName, sizeBytes and kind, and its status: open (bytes not completed yet), processing (being checked), ready (an edit, a new project, an import or a render\u0027s replacement can use it) or failed (error says why). An open single-PUT upload carries a fresh url and method, valid until expiresAt, to send its bytes again; a multipart upload gets its part URLs from POST /v1/uploads/{uploadId}/parts. Send Prefer: wait=N (at most 50) to hold the answer while the upload is processing, up to N seconds.","operationId":"getUpload","parameters":[{"name":"uploadId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"Prefer","in":"header","schema":{"type":"string"},"example":"wait=50"}],"responses":{"400":{"description":"Bad Request","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Too Many Requests","headers":{"Retry-After":{"description":"The number of seconds to wait before trying again.","schema":{"type":"string"}},"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"200":{"description":"OK","headers":{"Preference-Applied":{"description":"The wait honoured, such as wait=50, when Prefer: wait was sent.","schema":{"type":"string"}},"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UploadDto"}}}}}},"delete":{"tags":["Uploads"],"summary":"Delete an upload","description":"Discards an upload you no longer need, including the parts of an open multipart upload.","operationId":"deleteUpload","parameters":[{"name":"uploadId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"400":{"description":"Bad Request","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Too Many Requests","headers":{"Retry-After":{"description":"The number of seconds to wait before trying again.","schema":{"type":"string"}},"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"204":{"description":"No Content","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}}}}}},"/v1/uploads/{uploadId}/parts":{"post":{"tags":["Uploads"],"summary":"Issue part URLs again","description":"Fresh 1-hour URLs for the listed partNumbers of an open multipart upload, or for every part when partNumbers or the whole body is left out. Use it to resume.","operationId":"issuePartUrlsAgain","parameters":[{"name":"uploadId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/UploadPartsRequest"}]}}}},"responses":{"400":{"description":"Bad Request","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Too Many Requests","headers":{"Retry-After":{"description":"The number of seconds to wait before trying again.","schema":{"type":"string"}},"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"200":{"description":"OK","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MultipartDto"}}}},"415":{"description":"Unsupported Media Type: the body must be JSON.","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v1/uploads/{uploadId}/complete":{"post":{"tags":["Uploads"],"summary":"Complete an upload","description":"Every upload is completed once its bytes are in place: a single PUT with no body, a multipart upload with every part\u0027s number and the ETag its PUT returned; before its bytes are in place it answers 409 upload_incomplete. The upload is then processing while Blitframe checks it, and ready for an edit, a new project, an import or a render\u0027s replacement when that is done; a ZIP is ready at once, since its import checks it. Send Prefer: wait=N (at most 50) to hold the answer until the upload is ready or failed, or N seconds pass. Completing again is harmless: it answers the upload as it is, and resumes one that failed with interrupted, up to three checks in all; after that it fails with check_limit and the file must be uploaded again.","operationId":"completeUpload","parameters":[{"name":"uploadId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"Prefer","in":"header","schema":{"type":"string"},"example":"wait=50"}],"requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompleteUploadRequest"}]}}}},"responses":{"400":{"description":"Bad Request","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Too Many Requests","headers":{"Retry-After":{"description":"The number of seconds to wait before trying again.","schema":{"type":"string"}},"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"200":{"description":"OK","headers":{"Preference-Applied":{"description":"The wait honoured, such as wait=50, when Prefer: wait was sent.","schema":{"type":"string"}},"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UploadDto"}}}},"409":{"description":"Conflict","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"415":{"description":"Unsupported Media Type: the body must be JSON.","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v1/files/capabilities":{"get":{"tags":["Uploads"],"summary":"Get file capabilities","description":"Each supported file extension with its kind, content type, size limit, dimension and duration limits (null where they do not apply) and suggested folder, plus the upload, ZIP and edit limits. Cache it for up to 5 minutes; the server checks every file when you send it.","operationId":"getFileCapabilities","responses":{"400":{"description":"Bad Request","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Too Many Requests","headers":{"Retry-After":{"description":"The number of seconds to wait before trying again.","schema":{"type":"string"}},"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"200":{"description":"OK","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FileCapabilitiesDto"}}}}}}},"/v1/usage":{"get":{"tags":["Workspace"],"summary":"Get usage","description":"Plan, remaining render seconds, period end, trial state, storage and downloads used, and every limit and feature of the workspace\u0027s plan, or of the custom limits that apply in its place.","operationId":"getUsage","responses":{"400":{"description":"Bad Request","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Too Many Requests","headers":{"Retry-After":{"description":"The number of seconds to wait before trying again.","schema":{"type":"string"}},"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"200":{"description":"OK","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UsageDto"}}}}}}},"/v1/projects/{projectId}/variations":{"get":{"tags":["Projects"],"summary":"List variations","description":"The project\u0027s variations, main first, then by name, each with its head version and whether it is renderable (both null only for main while the project is empty), a page at a time: limit per page (default 100, at most 1,000), and after set to the previous page\u0027s next. q keeps the names that contain it. A project has at most 10,000.","operationId":"listVariations","parameters":[{"name":"projectId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"q","in":"query","schema":{"type":"string"}},{"name":"limit","in":"query","schema":{"maximum":1000,"minimum":1,"type":"integer","format":"int32","default":100}},{"name":"after","in":"query","schema":{"type":"string"}}],"responses":{"400":{"description":"Bad Request","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Too Many Requests","headers":{"Retry-After":{"description":"The number of seconds to wait before trying again.","schema":{"type":"string"}},"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"200":{"description":"OK","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOfVariationDto"}}}}}},"post":{"tags":["Projects"],"summary":"Create a variation","description":"Creates a variation whose head is fromVersionId (any version of this project), or the head of fromVariation, or main\u0027s head when both are left out; the project must have a version. name is 1 to 100 characters: letters, digits, \u0027-\u0027, \u0027_\u0027 or \u0027.\u0027, starting with a letter or digit, kept in lower case. A name the project already has is 409 variation_exists; past 10,000 variations, main included, 409 variation_limit. A fromVersionId larger than the plan\u0027s project size and than every head of the project, such as a render\u0027s own version made larger by its replacements, is 403 project_too_large. Send an Idempotency-Key header (1 to 200 characters) to make retries safe: for 24 hours the same request with the same key answers with what the first one made and its status code, with the header Idempotent-Replayed: true; the same key with a different request is 422 idempotency_key_reused while what the first one made exists, and while the first request is still running 409 idempotency_key_in_use, except that the retry of a ZIP import waits for that import, as the first request does. A request that failed made nothing, so it can be sent again with its key.","operationId":"createVariation","parameters":[{"name":"projectId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"Idempotency-Key","in":"header","description":"Optional. A unique key you choose for this one request, 1 to 200 characters, such as a new UUID. Send the same key again only to retry this request after a lost answer: the retry answers with what the first one made instead of doing it again. Use a new key for every other request; the key in the samples is only an example.","schema":{"maxLength":200,"minLength":1,"type":"string"},"example":"05a54079-a200-0def-96cc-7bc9e4c2543a"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateVariationRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Too Many Requests","headers":{"Retry-After":{"description":"The number of seconds to wait before trying again.","schema":{"type":"string"}},"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"201":{"description":"Created","headers":{"Idempotent-Replayed":{"description":"true when the answer replays an earlier request sent with the same Idempotency-Key.","schema":{"type":"string"}},"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VariationDto"}}}},"403":{"description":"Forbidden","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Unprocessable Entity","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"415":{"description":"Unsupported Media Type: the body must be JSON.","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v1/projects/{projectId}/variations/batch":{"post":{"tags":["Projects"],"summary":"Create many variations","description":"Queues a batch that makes up to 1,000 variations from one version: fromVersionId, or the head of fromVariation, or main\u0027s head when both are left out. Each row of variations has a name, under the same rules as one variation\u0027s, and optional replacements and message: a partial edit that becomes the new variation\u0027s head, while the source version stays as it is. A new image or video in a replacement is an upload (file.uploadId), and each upload is named by one row. Every row is checked before anything is queued: a bad row refuses the whole batch, its error starting with the row, such as variations[3]. A name the project already has is 409 variation_exists. At most 10 batches per workspace wait or run at once (409 batch_limit). Answers 202 with the batch; get it until its status is finished, cancelled or failed. Send an Idempotency-Key header (1 to 200 characters) to make retries safe: for 24 hours the same request with the same key answers with what the first one made and its status code, with the header Idempotent-Replayed: true; the same key with a different request is 422 idempotency_key_reused while what the first one made exists, and while the first request is still running 409 idempotency_key_in_use, except that the retry of a ZIP import waits for that import, as the first request does. A request that failed made nothing, so it can be sent again with its key.","operationId":"createManyVariations","parameters":[{"name":"projectId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"Idempotency-Key","in":"header","description":"Optional. A unique key you choose for this one request, 1 to 200 characters, such as a new UUID. Send the same key again only to retry this request after a lost answer: the retry answers with what the first one made instead of doing it again. Use a new key for every other request; the key in the samples is only an example.","schema":{"maxLength":200,"minLength":1,"type":"string"},"example":"6efc476b-3140-424b-80ba-c1cd6c8c4f77"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateVariationBatchRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Too Many Requests","headers":{"Retry-After":{"description":"The number of seconds to wait before trying again.","schema":{"type":"string"}},"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"202":{"description":"Accepted","headers":{"Idempotent-Replayed":{"description":"true when the answer replays an earlier request sent with the same Idempotency-Key.","schema":{"type":"string"}},"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VariationBatchDto"}}}},"403":{"description":"Forbidden","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"408":{"description":"Request Timeout","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Payload Too Large","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Unprocessable Entity","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"415":{"description":"Unsupported Media Type: the body must be JSON.","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v1/projects/{projectId}/variations/batch/{batchId}":{"get":{"tags":["Projects"],"summary":"Get a batch of variations","description":"The batch and each of its rows, in the order they were sent: queued, succeeded (with headVersionId, the new variation\u0027s head, and whether it is renderable), failed (with error: code and message) or skipped (not made, because the batch was cancelled or stopped). Rows are made one at a time, so succeeded rows can be rendered while the batch runs. Send Prefer: wait=N (at most 50) to hold the answer until the batch ends, or N seconds pass.","operationId":"getBatchOfVariations","parameters":[{"name":"projectId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"batchId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"Prefer","in":"header","schema":{"type":"string"},"example":"wait=50"}],"responses":{"400":{"description":"Bad Request","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Too Many Requests","headers":{"Retry-After":{"description":"The number of seconds to wait before trying again.","schema":{"type":"string"}},"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"200":{"description":"OK","headers":{"Preference-Applied":{"description":"The wait honoured, such as wait=50, when Prefer: wait was sent.","schema":{"type":"string"}},"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VariationBatchDto"}}}}}}},"/v1/projects/{projectId}/variations/batch/{batchId}/cancel":{"post":{"tags":["Projects"],"summary":"Cancel a batch of variations","description":"A queued batch is cancelled at once. A running one stops after the row it is making: the variations it made stay, and the rest are skipped. A batch that has ended is answered as it is.","operationId":"cancelBatchOfVariations","parameters":[{"name":"projectId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"batchId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"400":{"description":"Bad Request","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Too Many Requests","headers":{"Retry-After":{"description":"The number of seconds to wait before trying again.","schema":{"type":"string"}},"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"200":{"description":"OK","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VariationBatchDto"}}}}}}},"/v1/projects/{projectId}/variations/{name}":{"get":{"tags":["Projects"],"summary":"Get a variation","operationId":"getVariation","parameters":[{"name":"projectId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"name","in":"path","required":true,"schema":{"type":"string"},"example":"spanish"}],"responses":{"400":{"description":"Bad Request","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Too Many Requests","headers":{"Retry-After":{"description":"The number of seconds to wait before trying again.","schema":{"type":"string"}},"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"200":{"description":"OK","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VariationDto"}}}}}},"delete":{"tags":["Projects"],"summary":"Delete a variation","description":"Deletes the variation, never its versions: renders, exports and render links pinned to them keep working. Render links that follow the variation\u0027s head are deleted with it. main cannot be deleted (400).","operationId":"deleteVariation","parameters":[{"name":"projectId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"name","in":"path","required":true,"schema":{"type":"string"},"example":"spanish"}],"responses":{"400":{"description":"Bad Request","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Too Many Requests","headers":{"Retry-After":{"description":"The number of seconds to wait before trying again.","schema":{"type":"string"}},"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"204":{"description":"No Content","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}}}}}},"/v1/projects/{projectId}/versions":{"get":{"tags":["Projects"],"summary":"List version history","description":"Follows parent links from the head of a variation, newest first: variation, or main when it is left out. Pass next as before to page.","operationId":"listVersionHistory","parameters":[{"name":"projectId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"variation","in":"query","schema":{"type":"string"},"example":"spanish"},{"name":"limit","in":"query","schema":{"maximum":1000,"minimum":1,"type":"integer","format":"int32","default":50}},{"name":"before","in":"query","schema":{"type":"string","format":"uuid"}}],"responses":{"400":{"description":"Bad Request","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Too Many Requests","headers":{"Retry-After":{"description":"The number of seconds to wait before trying again.","schema":{"type":"string"}},"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"200":{"description":"OK","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOfVersionDto"}}}}}},"post":{"tags":["Projects"],"summary":"Edit a project","description":"Adds, replaces or deletes files, or replaces layers, on top of the head of a variation (variation, or main when it is left out), as a new version that becomes that variation\u0027s head. With expectedHeadVersionId, the head must still be that version (409 head_moved otherwise); without it, the change applies to whatever the head is, and is made again on a newer head when another change lands first (409 head_moved after three tries). Each file has content, contentBase64, uploadId or fromVersionId (copies that version\u0027s file at fromPath, which defaults to path, from any version of the workspace; the file type must stay the same, and the root data.json copies only to and from another root data.json). contentBase64, here or in a replacement\u0027s file, takes at most 1 MB decoded per file (413 too_large); upload anything larger (POST /v1/uploads) and send its uploadId. An uploadId must name a ready upload whose fileName has the path\u0027s extension: one not completed is 409 upload_incomplete, one still being checked 409 upload_processing (naming every such upload, with Retry-After), and a failed one 409 upload_failed (giving the upload\u0027s own error). name optionally labels the version (at most 200 characters). soundtrack names an audio file in the version that renders play; later versions keep it while that file stays, and removeSoundtrack true removes it and keeps the file. restoreFromVersionId starts from any version of the project instead of the head, which undoes later changes. moveHead false makes the version without moving any head: a draft to check or render, whose parent is the version it starts from and which no variation\u0027s history contains, so drafts made at once never collide. A request that adds a font file needs fontLicenseAccepted true (400 font_license_required otherwise). An edit that leaves the files, soundtrack and text fitting baseline as the head has them (for a draft, as the version it starts from has them) creates no version: the answer is 200 with that version. It still creates one when the head has problems (the files are checked again), when it gives a name other than the head\u0027s, or when it names an upload. An edit sent again after it used its uploads answers 200 with the version it made, with Idempotent-Replayed: true, when the body is the same. A version whose files would total more than the plan\u0027s project size (limits.maxProjectBytes in the usage) is refused with 403 project_too_large; one already larger may stay that size or shrink. The body may be up to 64 MB (413 too_large). A body over 1 MB must arrive within two minutes (408 too_slow), and a workspace sends one such body at a time: two more wait their turn, and another is refused with 429 large_body_busy and Retry-After. Send an Idempotency-Key header (1 to 200 characters) to make retries safe: for 24 hours the same request with the same key answers with what the first one made and its status code, with the header Idempotent-Replayed: true; the same key with a different request is 422 idempotency_key_reused while what the first one made exists, and while the first request is still running 409 idempotency_key_in_use, except that the retry of a ZIP import waits for that import, as the first request does. A request that failed made nothing, so it can be sent again with its key.","operationId":"editProject","parameters":[{"name":"projectId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"Idempotency-Key","in":"header","description":"Optional. A unique key you choose for this one request, 1 to 200 characters, such as a new UUID. Send the same key again only to retry this request after a lost answer: the retry answers with what the first one made instead of doing it again. Use a new key for every other request; the key in the samples is only an example.","schema":{"maxLength":200,"minLength":1,"type":"string"},"example":"7d36583c-7cfe-784c-08d2-148fa0e34888"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EditProjectRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Too Many Requests","headers":{"Retry-After":{"description":"The number of seconds to wait before trying again.","schema":{"type":"string"}},"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"200":{"description":"OK","headers":{"Idempotent-Replayed":{"description":"true when the answer replays an earlier request sent with the same Idempotency-Key.","schema":{"type":"string"}},"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VersionDto"}}}},"201":{"description":"Created","headers":{"Idempotent-Replayed":{"description":"true when the answer replays an earlier request sent with the same Idempotency-Key.","schema":{"type":"string"}},"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VersionDto"}}}},"402":{"description":"Payment Required","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"Forbidden","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"408":{"description":"Request Timeout","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Payload Too Large","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Unprocessable Entity","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"Service Unavailable","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"415":{"description":"Unsupported Media Type: the body must be JSON.","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v1/versions/{versionId}":{"get":{"tags":["Projects"],"summary":"Get a version","description":"Files, composition details, renderable, problems and warnings.","operationId":"getVersion","parameters":[{"name":"versionId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"400":{"description":"Bad Request","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Too Many Requests","headers":{"Retry-After":{"description":"The number of seconds to wait before trying again.","schema":{"type":"string"}},"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"200":{"description":"OK","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VersionDto"}}}}}}},"/v1/versions/{versionId}/files/{path}":{"get":{"tags":["Projects"],"summary":"Download a file","description":"Redirects to a short-lived download URL for one file of the version.","operationId":"downloadFile","parameters":[{"name":"versionId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"path","in":"path","description":"The file\u0027s path in the version, such as images/logo.png. A folder\u0027s slash may be sent as is or URL-encoded as %2F.","required":true,"schema":{"type":"string"},"example":"images/logo.png"}],"responses":{"400":{"description":"Bad Request","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Too Many Requests","headers":{"Retry-After":{"description":"The number of seconds to wait before trying again.","schema":{"type":"string"}},"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"302":{"description":"Found","headers":{"Location":{"description":"Where to download the file.","schema":{"type":"string","format":"uri"}},"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}}}}}},"/v1/versions/{versionId}/export":{"post":{"tags":["Projects"],"summary":"Export a version as ZIP","description":"Queues a ZIP of every file in the version, up to 8 GB in total. Get the export until its status is ready for the download URL. A renderable version\u0027s text fitting is baked into the exported data.json and text_fitting.json is left out, so the ZIP renders like the version but no longer carries the fitting rules. A request while an export of the same version is queued, building, or ready with more than an hour left before it expires returns that export. Exports are kept for 24 hours. At most 10 exports per workspace wait or build at once (409 export_limit). The export needs room in the workspace\u0027s storage for the files it copies (403 storage_limit). A ready export imports by its id, without downloading it: fromExportId when creating a project or importing a ZIP into one.","operationId":"exportVersionAsZip","parameters":[{"name":"versionId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"400":{"description":"Bad Request","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Too Many Requests","headers":{"Retry-After":{"description":"The number of seconds to wait before trying again.","schema":{"type":"string"}},"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"202":{"description":"Accepted","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VersionExportDto"}}}},"403":{"description":"Forbidden","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v1/projects/{projectId}/export":{"post":{"tags":["Projects"],"summary":"Export a whole project as ZIP","description":"Queues a ZIP of the current version of every variation: project.blitframe at the root names the project and its variations, and each variation\u0027s folder (main/, then the others by name) holds its head\u0027s files exactly as stored: unlike a version export, data.json keeps its text unfitted and text_fitting.json stays. Earlier versions are not included. The heads together may total up to 8 GB. The export has kind project, its projectId, and versionId set to main\u0027s head when it was queued; get it at GET /v1/projects/{projectId}/export/{exportId}. Exports are kept for 24 hours and count toward the 10 that may wait or build at once (409 export_limit), and need room in the workspace\u0027s storage (403 storage_limit). A ready project export restores as a new project, every variation with its name, message and soundtrack: fromExportId (or the downloaded ZIP as zipUploadId) when creating a project. It cannot be imported into an existing project.","operationId":"exportWholeProjectAsZip","parameters":[{"name":"projectId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"400":{"description":"Bad Request","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Too Many Requests","headers":{"Retry-After":{"description":"The number of seconds to wait before trying again.","schema":{"type":"string"}},"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"202":{"description":"Accepted","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VersionExportDto"}}}},"403":{"description":"Forbidden","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"Conflict","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v1/versions/{versionId}/export/{exportId}":{"get":{"tags":["Projects"],"summary":"Get a version export","description":"Status (queued, building, ready or failed) and, once ready, a download URL valid for up to an hour. Send Prefer: wait=N (at most 50) to hold the answer until the export is ready or failed, or N seconds pass.","operationId":"getVersionExport","parameters":[{"name":"versionId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"exportId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"Prefer","in":"header","schema":{"type":"string"},"example":"wait=50"}],"responses":{"400":{"description":"Bad Request","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Too Many Requests","headers":{"Retry-After":{"description":"The number of seconds to wait before trying again.","schema":{"type":"string"}},"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"200":{"description":"OK","headers":{"Preference-Applied":{"description":"The wait honoured, such as wait=50, when Prefer: wait was sent.","schema":{"type":"string"}},"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VersionExportDto"}}}}}}},"/v1/projects/{projectId}/export/{exportId}":{"get":{"tags":["Projects"],"summary":"Get a project export","description":"A project export of this project, answered like a version export: status (queued, building, ready or failed) and, once ready, a download URL valid for up to an hour. Send Prefer: wait=N (at most 50) to hold the answer until the export is ready or failed, or N seconds pass.","operationId":"getProjectExport","parameters":[{"name":"projectId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"exportId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"Prefer","in":"header","schema":{"type":"string"},"example":"wait=50"}],"responses":{"400":{"description":"Bad Request","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Too Many Requests","headers":{"Retry-After":{"description":"The number of seconds to wait before trying again.","schema":{"type":"string"}},"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"200":{"description":"OK","headers":{"Preference-Applied":{"description":"The wait honoured, such as wait=50, when Prefer: wait was sent.","schema":{"type":"string"}},"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VersionExportDto"}}}}}}},"/v1/webhooks":{"get":{"tags":["Webhooks"],"summary":"List webhook endpoints","description":"Every endpoint of the workspace, oldest first. secret is null: only creating an endpoint and rotating its secret answer with it. A workspace has at most 10, so they fit one page: next is always null.","operationId":"listWebhookEndpoints","responses":{"400":{"description":"Bad Request","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Too Many Requests","headers":{"Retry-After":{"description":"The number of seconds to wait before trying again.","schema":{"type":"string"}},"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"200":{"description":"OK","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOfWebhookDto"}}}}}},"post":{"tags":["Webhooks"],"summary":"Add a webhook endpoint","description":"url is an HTTPS URL on port 443 at a public address, without credentials, at most 2,048 characters. Leave out events to receive every event type, including ones added later (allEvents is then true). The response includes the signing secret (whsec_\u2026) once; requests are signed per Standard Webhooks. A workspace has at most 10 endpoints (409 webhook_limit) and adds or repoints them at most 20 times an hour (429 rate_limited). Its owners and admins are emailed which endpoint was added and by whom.","operationId":"addWebhookEndpoint","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateWebhookRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Too Many Requests","headers":{"Retry-After":{"description":"The number of seconds to wait before trying again.","schema":{"type":"string"}},"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"201":{"description":"Created","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookDto"}}}},"409":{"description":"Conflict","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"415":{"description":"Unsupported Media Type: the body must be JSON.","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v1/webhooks/{webhookId}":{"get":{"tags":["Webhooks"],"summary":"Get a webhook endpoint","operationId":"getWebhookEndpoint","parameters":[{"name":"webhookId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"400":{"description":"Bad Request","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Too Many Requests","headers":{"Retry-After":{"description":"The number of seconds to wait before trying again.","schema":{"type":"string"}},"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"200":{"description":"OK","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookDto"}}}}}},"patch":{"tags":["Webhooks"],"summary":"Update a webhook endpoint","description":"Changes url, events, enabled or description; a field you leave out is kept. Send description as an empty string to clear it. A new url follows the same rules as when the endpoint was added, counts toward the 20 adds or repoints a workspace makes an hour (429 rate_limited), and is emailed to the workspace\u0027s owners and admins. Send allEvents: true instead of events to receive every event type again, including ones added later. Disabling stops queued retries; enabling again clears disabledReason.","operationId":"updateWebhookEndpoint","parameters":[{"name":"webhookId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateWebhookRequest"}}},"required":true},"responses":{"400":{"description":"Bad Request","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Too Many Requests","headers":{"Retry-After":{"description":"The number of seconds to wait before trying again.","schema":{"type":"string"}},"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"200":{"description":"OK","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookDto"}}}},"415":{"description":"Unsupported Media Type: the body must be JSON.","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"delete":{"tags":["Webhooks"],"summary":"Delete a webhook endpoint","description":"Removes the endpoint with its queued deliveries and delivery log.","operationId":"deleteWebhookEndpoint","parameters":[{"name":"webhookId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"400":{"description":"Bad Request","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Too Many Requests","headers":{"Retry-After":{"description":"The number of seconds to wait before trying again.","schema":{"type":"string"}},"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"204":{"description":"No Content","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}}}}}},"/v1/webhooks/{webhookId}/rotate-secret":{"post":{"tags":["Webhooks"],"summary":"Rotate the signing secret","description":"Returns the new secret once. For gracePeriodSeconds (0 to 86,400, default 86,400) every request is signed with both the new and the previous secret, then only the new one. Send 0 to stop signing with the previous secret at once, for example after it leaked.","operationId":"rotateSigningSecret","parameters":[{"name":"webhookId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/RotateWebhookSecretRequest"}]}}}},"responses":{"400":{"description":"Bad Request","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Too Many Requests","headers":{"Retry-After":{"description":"The number of seconds to wait before trying again.","schema":{"type":"string"}},"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"200":{"description":"OK","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookSecretDto"}}}},"415":{"description":"Unsupported Media Type: the body must be JSON.","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v1/webhooks/{webhookId}/deliveries":{"get":{"tags":["Webhooks"],"summary":"List deliveries","description":"The endpoint\u0027s deliveries of the last 30 days, newest first. Pass next as before for older ones.","operationId":"listDeliveries","parameters":[{"name":"webhookId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"limit","in":"query","schema":{"maximum":1000,"minimum":1,"type":"integer","format":"int32","default":50}},{"name":"before","in":"query","schema":{"type":"string"}}],"responses":{"400":{"description":"Bad Request","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Too Many Requests","headers":{"Retry-After":{"description":"The number of seconds to wait before trying again.","schema":{"type":"string"}},"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"200":{"description":"OK","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageOfWebhookDeliveryDto"}}}}}}},"/v1/webhooks/{webhookId}/deliveries/{deliveryId}/redeliver":{"post":{"tags":["Webhooks"],"summary":"Redeliver an event","description":"Queues the delivery\u0027s event again as a new delivery with the same webhook-id, so receivers that deduplicate still see one event. An endpoint takes at most 30 test events and redeliveries an hour, and none while 100 of its deliveries are waiting (429 rate_limited).","operationId":"redeliverEvent","parameters":[{"name":"webhookId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"deliveryId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"400":{"description":"Bad Request","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Too Many Requests","headers":{"Retry-After":{"description":"The number of seconds to wait before trying again.","schema":{"type":"string"}},"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"202":{"description":"Accepted","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookDeliveryDto"}}}},"409":{"description":"Conflict","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v1/webhooks/{webhookId}/test":{"post":{"tags":["Webhooks"],"summary":"Send a test event","description":"Queues a webhook.test event for the endpoint, whatever event types it picked. It is signed, logged and retried like any other event. The endpoint must be enabled. An endpoint takes at most 30 test events and redeliveries an hour, and none while 100 of its deliveries are waiting (429 rate_limited).","operationId":"sendTestEvent","parameters":[{"name":"webhookId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"400":{"description":"Bad Request","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Too Many Requests","headers":{"Retry-After":{"description":"The number of seconds to wait before trying again.","schema":{"type":"string"}},"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"202":{"description":"Accepted","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookDeliveryDto"}}}},"409":{"description":"Conflict","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/v1/webhooks/{webhookId}/recover":{"post":{"tags":["Webhooks"],"summary":"Resend missed events","description":"Queues again, once each, the events in the delivery log that never reached the endpoint, logged at or after since (leave it out for the whole 30-day log), oldest first. Each keeps its webhook-id. The endpoint must be enabled. It queues no more than fit under the endpoint\u0027s 100 waiting deliveries, and one that queues any counts toward its 30 test events and redeliveries an hour (429 rate_limited); call it again for the rest.","operationId":"resendMissedEvents","parameters":[{"name":"webhookId","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/RecoverWebhookRequest"}]}}}},"responses":{"400":{"description":"Bad Request","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not Found","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Too Many Requests","headers":{"Retry-After":{"description":"The number of seconds to wait before trying again.","schema":{"type":"string"}},"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"202":{"description":"Accepted","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookRecoveryDto"}}}},"409":{"description":"Conflict","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"415":{"description":"Unsupported Media Type: the body must be JSON.","headers":{"Request-Id":{"description":"This request\u0027s id. Quote it when you report a problem.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}}},"components":{"schemas":{"ApiError":{"required":["code","message"],"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}},"ApiKeyDto":{"required":["id","name","prefix","createdAt","lastUsedAt","expiresAt","createdBy","creatorLeft"],"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string"},"prefix":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"lastUsedAt":{"type":["null","string"],"format":"date-time"},"expiresAt":{"type":["null","string"],"format":"date-time"},"createdBy":{"type":["null","string"]},"creatorLeft":{"type":"boolean"}}},"AudioTrack":{"examples":[{"path":"audio/music.mp3","offsetSeconds":0}],"required":["path"],"type":"object","properties":{"path":{"type":"string"},"offsetSeconds":{"type":"number","format":"double","default":0}},"additionalProperties":false},"BlobKind":{"enum":["composition","json","image","video","audio","font","model"]},"ColorTag":{"enum":["bt709","none"]},"CompletedPart":{"required":["partNumber","etag"],"type":"object","properties":{"partNumber":{"type":"integer","format":"int32"},"etag":{"type":"string"}},"additionalProperties":false},"CompleteUploadRequest":{"examples":[{"parts":[{"partNumber":1,"etag":"\u00225d41402abc4b2a76\u0022"},{"partNumber":2,"etag":"\u00227c2b8e3f1a9d4c6b\u0022"}]}],"type":"object","properties":{"parts":{"type":["null","array"],"items":{"$ref":"#/components/schemas/CompletedPart"}}},"additionalProperties":false},"CompositionDto":{"required":["width","height","frameRate","durationSeconds","frameCount"],"type":"object","properties":{"width":{"type":"integer","format":"int32"},"height":{"type":"integer","format":"int32"},"frameRate":{"type":"number","format":"double"},"durationSeconds":{"type":"number","format":"double"},"frameCount":{"type":"integer","format":"int32"}}},"CompositionFontDto":{"required":["name","family","style","source"],"type":"object","properties":{"name":{"type":"string"},"family":{"type":"string"},"style":{"type":"string"},"source":{"$ref":"#/components/schemas/FontSource"}}},"CreateProblemReportRequest":{"examples":[{"renderId":"0f8e6d4c-2b1a-4c3d-9e8f-7a6b5c4d3e2f","message":"The logo flickers between 0:03 and 0:05."}],"required":["message"],"type":"object","properties":{"message":{"maxLength":2000,"type":"string"},"renderId":{"type":["null","string"],"format":"uuid"},"versionId":{"type":["null","string"],"format":"uuid"}},"additionalProperties":false},"CreateProjectRequest":{"examples":[{"name":"Summer sale"}],"required":["name"],"type":"object","properties":{"name":{"maxLength":200,"type":"string"},"zipUploadId":{"type":["null","string"],"format":"uuid"},"fromVersionId":{"type":["null","string"],"format":"uuid"},"fontLicenseAccepted":{"type":"boolean","default":false},"fromExportId":{"type":["null","string"],"format":"uuid"}},"additionalProperties":false},"CreateRenderArchiveRequest":{"examples":[{"renderIds":["0f8e6d4c-2b1a-4c3d-9e8f-7a6b5c4d3e2f","1a2b3c4d-5e6f-4a1b-8c9d-0e1f2a3b4c5d"],"name":"Summer campaign"}],"required":["renderIds"],"type":"object","properties":{"renderIds":{"type":"array","items":{"type":"string","format":"uuid"}},"name":{"maxLength":200,"type":["null","string"]}},"additionalProperties":false},"CreateRenderBatchRequest":{"examples":[{"versionId":"5c3d7a8e-2f41-4b6a-9d10-7e2f5a9c1b34","renders":[{"format":"mp4","name":"Spanish","replacements":[{"layer":"/layers/0","text":"Rebajas de verano"}]},{"format":"hls","quality":"medium"}]}],"required":["renders"],"type":"object","properties":{"renders":{"type":"array","items":{"$ref":"#/components/schemas/RenderBatchItem"}},"versionId":{"type":["null","string"],"format":"uuid"},"variation":{"maxLength":100,"type":["null","string"]}},"additionalProperties":false},"CreateRenderLinkRequest":{"examples":[{"quality":"high"}],"type":"object","properties":{"quality":{"$ref":"#/components/schemas/RenderQuality"},"versionId":{"type":["null","string"],"format":"uuid"},"variation":{"maxLength":100,"type":["null","string"]}},"additionalProperties":false},"CreateRenderRequest":{"examples":[{"projectId":"3f9b2c1d-8e4a-4d7b-b6c5-2a1e0f9d8c7b","format":"mp4","quality":"high"}],"type":"object","properties":{"projectId":{"type":["null","string"],"format":"uuid"},"versionId":{"type":["null","string"],"format":"uuid"},"format":{"$ref":"#/components/schemas/RenderFormat"},"quality":{"$ref":"#/components/schemas/RenderQuality"},"frames":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/FrameRange"}]},"audio":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/AudioTrack"}]},"name":{"maxLength":200,"type":["null","string"]},"replacements":{"type":["null","array"],"items":{"$ref":"#/components/schemas/Replacement"}},"variation":{"maxLength":100,"type":["null","string"]},"codec":{"$ref":"#/components/schemas/VideoCodec"},"encoding":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/RenderEncoding"}]},"posterFrame":{"type":["null","integer"],"format":"int32"},"size":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/RenderSize"}]}},"additionalProperties":false},"CreateUploadRequest":{"examples":[{"fileName":"background.mp4","sizeBytes":48211933}],"required":["fileName","sizeBytes"],"type":"object","properties":{"fileName":{"maxLength":255,"type":"string"},"sizeBytes":{"type":"integer","format":"int64"}},"additionalProperties":false},"CreateUploadsRequest":{"examples":[{"files":[{"fileName":"row-1.png","sizeBytes":182044},{"fileName":"row-2.png","sizeBytes":179310}]}],"required":["files"],"type":"object","properties":{"files":{"type":"array","items":{"$ref":"#/components/schemas/UploadFile"}}},"additionalProperties":false},"CreateVariationBatchRequest":{"examples":[{"fromVariation":"main","variations":[{"name":"spanish","replacements":[{"layer":"/layers/0","text":"Rebajas de verano"}]},{"name":"vertical"}]}],"required":["variations"],"type":"object","properties":{"variations":{"type":"array","items":{"$ref":"#/components/schemas/VariationBatchItem"}},"fromVersionId":{"type":["null","string"],"format":"uuid"},"fromVariation":{"maxLength":100,"type":["null","string"]}},"additionalProperties":false},"CreateVariationRequest":{"examples":[{"name":"spanish","fromVariation":"main"}],"required":["name"],"type":"object","properties":{"name":{"maxLength":100,"type":"string"},"fromVersionId":{"type":["null","string"],"format":"uuid"},"fromVariation":{"maxLength":100,"type":["null","string"]}},"additionalProperties":false},"CreateWebhookRequest":{"examples":[{"url":"https://example.com/blitframe-webhook","events":["render.succeeded","render.failed"],"description":"Production"}],"required":["url"],"type":"object","properties":{"url":{"maxLength":2048,"type":"string"},"events":{"type":["null","array"],"items":{"enum":["render.succeeded","render.failed","render.cancelled","download_archive.ready","download_archive.failed","version_export.ready","version_export.failed","variation_batch.finished","variation_batch.failed","balance.low"],"type":"string"}},"description":{"maxLength":200,"type":["null","string"]}},"additionalProperties":false},"EditFile":{"examples":[{"path":"images/logo.png","uploadId":"8a1f0c2e-6b3d-4e59-a7c4-1d2e3f4a5b6c"}],"required":["path"],"type":"object","properties":{"path":{"maxLength":512,"type":"string"},"content":{"type":["null","string"]},"contentBase64":{"type":["null","string"]},"uploadId":{"type":["null","string"],"format":"uuid"},"fromVersionId":{"type":["null","string"],"format":"uuid"},"fromPath":{"type":["null","string"]}},"additionalProperties":false},"EditProjectRequest":{"examples":[{"expectedHeadVersionId":"5c3d7a8e-2f41-4b6a-9d10-7e2f5a9c1b34","message":"Change the headline","files":[{"path":"data.json","content":"{\u0022v\u0022:\u00225.12.2\u0022,\u0022nm\u0022:\u0022Summer sale\u0022,\u0022fr\u0022:30,\u0022ip\u0022:0,\u0022op\u0022:150,\u0022w\u0022:1920,\u0022h\u0022:1080,\u0022assets\u0022:[],\u0022layers\u0022:[]}"},{"path":"images/logo.png","contentBase64":"iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mNk\u002BM9QDwADhgGAWjR9awAAAABJRU5ErkJggg=="}],"delete":["images/old-logo.png"]}],"type":"object","properties":{"expectedHeadVersionId":{"type":["null","string"],"format":"uuid"},"message":{"type":["null","string"]},"files":{"type":["null","array"],"items":{"$ref":"#/components/schemas/EditFile"}},"delete":{"type":["null","array"],"items":{"type":"string"}},"restoreFromVersionId":{"type":["null","string"],"format":"uuid"},"name":{"maxLength":200,"type":["null","string"]},"fontLicenseAccepted":{"type":"boolean","default":false},"soundtrack":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/AudioTrack"}]},"textFittingBaselineVersionId":{"type":["null","string"],"format":"uuid"},"replacements":{"type":["null","array"],"items":{"$ref":"#/components/schemas/Replacement"}},"variation":{"maxLength":100,"type":["null","string"]},"moveHead":{"type":"boolean","default":true},"removeSoundtrack":{"type":"boolean","default":false}},"additionalProperties":false},"EncoderPreset":{"enum":["highPerformance","highQuality","lowLatency","lowLatencyHighPerformance","lowLatencyHighQuality","lossless"]},"ErrorResponse":{"required":["error"],"type":"object","properties":{"error":{"$ref":"#/components/schemas/ApiError"}}},"FeedbackCategory":{"enum":["broken","missing","confusing","idea"]},"FeedbackImpact":{"enum":["blocked","workedAround","friction"]},"FileCapabilitiesDto":{"required":["upload","zip","maxFilesPerVersion","maxInlineEditBytes","maxInlineBinaryBytes","compositionPath","textFittingPath","files"],"type":"object","properties":{"upload":{"$ref":"#/components/schemas/UploadCapabilities"},"zip":{"$ref":"#/components/schemas/ZipCapabilities"},"maxFilesPerVersion":{"type":"integer","format":"int32"},"maxInlineEditBytes":{"type":"integer","format":"int64"},"maxInlineBinaryBytes":{"type":"integer","format":"int32"},"compositionPath":{"type":"string"},"textFittingPath":{"type":"string"},"files":{"type":"array","items":{"$ref":"#/components/schemas/FileTypeCapability"}}}},"FileDto":{"required":["path","sizeBytes","contentType","sha256"],"type":"object","properties":{"path":{"type":"string"},"sizeBytes":{"type":"integer","format":"int64"},"contentType":{"type":"string"},"sha256":{"type":"string"}}},"FileTypeCapability":{"required":["extension","kind","contentType","maxSizeBytes","defaultFolder"],"type":"object","properties":{"extension":{"type":"string"},"kind":{"$ref":"#/components/schemas/BlobKind"},"contentType":{"type":"string"},"maxSizeBytes":{"type":"integer","format":"int64"},"defaultFolder":{"type":"string"},"maxWidth":{"type":["null","integer"],"format":"int32"},"maxHeight":{"type":["null","integer"],"format":"int32"},"maxDurationSeconds":{"type":["null","number"],"format":"double"},"fontLicenseRequired":{"type":"boolean","default":false}}},"FontCategory":{"enum":["serif","sansSerif","display","handwriting","monospace"]},"FontDeclaration":{"required":["fName","fFamily","fStyle"],"type":"object","properties":{"fName":{"type":"string"},"fFamily":{"type":"string"},"fStyle":{"type":"string"}}},"FontDto":{"required":["family","style","slug","declaration","license","languages","category","previewUrl"],"type":"object","properties":{"family":{"type":"string"},"style":{"type":"string"},"slug":{"type":"string"},"declaration":{"$ref":"#/components/schemas/FontDeclaration"},"license":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/FontLicense"}]},"languages":{"type":"array","items":{"type":"string"}},"category":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/FontCategory"}]},"previewUrl":{"type":["null","string"]}}},"FontLicense":{"enum":["ofl","apache","ufl"]},"FontListItem":{"required":["family","style","slug","declaration","license","category"],"type":"object","properties":{"family":{"type":"string"},"style":{"type":"string"},"slug":{"type":"string"},"declaration":{"$ref":"#/components/schemas/FontDeclaration"},"license":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/FontLicense"}]},"category":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/FontCategory"}]}}},"FontSource":{"enum":["project","library","missing"]},"FrameFormat":{"enum":["png","jpeg","tga"],"default":"png"},"FrameRange":{"examples":[{"start":0,"end":30,"format":"png"}],"type":"object","properties":{"start":{"type":["null","integer"],"description":"First frame of a range, from 0 (0 by default). Not with at.","format":"int32"},"end":{"type":["null","integer"],"description":"Exclusive end frame of a range: start 60, end 61 is one frame. Not with at.","format":"int32"},"format":{"$ref":"#/components/schemas/FrameFormat"},"at":{"type":["null","array"],"items":{"type":"integer","format":"int32"},"description":"Instead of start and end: the frames to render, each from 0, at most 1,000 and each listed once; they come back in order. Consecutive frames form a run, and a render takes at most 10 runs."}},"additionalProperties":false},"HtmlAdDto":{"required":["id","renderId","status","platform","interaction","clickUrl","fileName","url","sizeBytes","error","createdAt","finishedAt","expiresAt"],"type":"object","properties":{"id":{"type":"string","format":"uuid"},"renderId":{"type":"string","format":"uuid"},"status":{"$ref":"#/components/schemas/HtmlAdStatus"},"platform":{"$ref":"#/components/schemas/HtmlAdPlatform"},"interaction":{"$ref":"#/components/schemas/HtmlAdInteraction"},"clickUrl":{"type":["null","string"]},"fileName":{"type":"string"},"url":{"type":["null","string"]},"sizeBytes":{"type":["null","integer"],"format":"int64"},"error":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/ApiError"}]},"createdAt":{"type":"string","format":"date-time"},"finishedAt":{"type":["null","string"],"format":"date-time"},"expiresAt":{"type":"string","format":"date-time"}}},"HtmlAdInteraction":{"enum":["video","tapToContinue"]},"HtmlAdPlatform":{"enum":["generic","googleCampaignManager360","googleDisplayVideo360","theTradeDesk","adform","appLovin","unityAds","googleAppCampaigns","meta","tikTok","pangle","mintegral","moloco","liftoff"]},"HtmlAdRequest":{"examples":[{"platform":"adform","interaction":"video","clickUrl":"https://example.com/summer-sale"}],"type":"object","properties":{"platform":{"$ref":"#/components/schemas/HtmlAdPlatform"},"interaction":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/HtmlAdInteraction"}]},"clickUrl":{"maxLength":2048,"type":["null","string"]}},"additionalProperties":false},"HtmlAdStatus":{"enum":["queued","building","ready","failed"]},"ImportPackageRequest":{"examples":[{"zipUploadId":"8a1f0c2e-6b3d-4e59-a7c4-1d2e3f4a5b6c","expectedHeadVersionId":"5c3d7a8e-2f41-4b6a-9d10-7e2f5a9c1b34","fontLicenseAccepted":true}],"type":"object","properties":{"zipUploadId":{"type":["null","string"],"format":"uuid"},"expectedHeadVersionId":{"type":["null","string"],"format":"uuid"},"fontLicenseAccepted":{"type":"boolean","default":false},"variation":{"maxLength":100,"type":["null","string"]},"fromExportId":{"type":["null","string"],"format":"uuid"}},"additionalProperties":false},"LayersDto":{"required":["width","height","textLayers","imageLayers","videoLayers","fonts","audioFiles","soundtrack"],"type":"object","properties":{"width":{"type":"integer","format":"int32"},"height":{"type":"integer","format":"int32"},"textLayers":{"type":"array","items":{"$ref":"#/components/schemas/TextLayerDto"}},"imageLayers":{"type":"array","items":{"$ref":"#/components/schemas/MediaLayerDto"}},"videoLayers":{"type":"array","items":{"$ref":"#/components/schemas/MediaLayerDto"}},"fonts":{"type":"array","items":{"$ref":"#/components/schemas/CompositionFontDto"}},"audioFiles":{"type":"array","items":{"type":"string"}},"soundtrack":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/AudioTrack"}]}}},"MediaFit":{"enum":["contain","cover"]},"MediaLayerDto":{"required":["layer","name","assetId","path","width","height"],"type":"object","properties":{"layer":{"type":"string"},"name":{"type":["null","string"]},"assetId":{"type":"string"},"path":{"type":["null","string"]},"width":{"type":"integer","format":"int32"},"height":{"type":"integer","format":"int32"}}},"MultipartDto":{"required":["partSize","partCount","urlsExpireAt","parts"],"type":"object","properties":{"partSize":{"type":"integer","format":"int64"},"partCount":{"type":"integer","format":"int32"},"urlsExpireAt":{"type":"string","format":"date-time"},"parts":{"type":"array","items":{"$ref":"#/components/schemas/UploadPartDto"}}}},"PageOfApiKeyDto":{"required":["items","next"],"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/ApiKeyDto"}},"next":{"type":["null","string"]}}},"PageOfFontListItem":{"required":["items","next"],"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/FontListItem"}},"next":{"type":["null","string"]}}},"PageOfProjectDto":{"required":["items","next"],"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/ProjectDto"}},"next":{"type":["null","string"]}}},"PageOfProjectFileDto":{"required":["items","next"],"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/ProjectFileDto"}},"next":{"type":["null","string"]}}},"PageOfRenderDto":{"required":["items","next"],"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/RenderDto"}},"next":{"type":["null","string"]}}},"PageOfRenderLinkDto":{"required":["items","next"],"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/RenderLinkDto"}},"next":{"type":["null","string"]}}},"PageOfVariationDto":{"required":["items","next"],"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/VariationDto"}},"next":{"type":["null","string"]}}},"PageOfVersionDto":{"required":["items","next"],"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/VersionDto"}},"next":{"type":["null","string"]}}},"PageOfWebhookDeliveryDto":{"required":["items","next"],"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/WebhookDeliveryDto"}},"next":{"type":["null","string"]}}},"PageOfWebhookDto":{"required":["items","next"],"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/WebhookDto"}},"next":{"type":["null","string"]}}},"PlanLimitsDto":{"required":["maxDurationSeconds","maxLongEdge","maxShortEdge","watermark","requestsPerMinute","custom","customUntil","maxStorageBytes","maxProjectBytes","monthlyDownloadBytes","renderLinks","advancedEncoding","priorityRendering","threeD"],"type":"object","properties":{"maxDurationSeconds":{"type":["null","integer"],"format":"int32"},"maxLongEdge":{"type":["null","integer"],"format":"int32"},"maxShortEdge":{"type":["null","integer"],"format":"int32"},"watermark":{"type":"boolean"},"requestsPerMinute":{"type":"integer","format":"int32"},"custom":{"type":"boolean"},"customUntil":{"type":["null","string"],"format":"date-time"},"maxStorageBytes":{"type":["null","integer"],"format":"int64"},"maxProjectBytes":{"type":["null","integer"],"format":"int64"},"monthlyDownloadBytes":{"type":["null","integer"],"format":"int64"},"renderLinks":{"type":"boolean"},"advancedEncoding":{"type":"boolean"},"priorityRendering":{"type":"boolean"},"threeD":{"type":"boolean"}}},"PlaybackState":{"enum":["preparing","streaming","complete"]},"ProblemReportDto":{"required":["id","renderId","versionId","message","status","createdAt","resolvedAt","resolution"],"type":"object","properties":{"id":{"type":"string","format":"uuid"},"renderId":{"type":["null","string"],"format":"uuid"},"versionId":{"type":["null","string"],"format":"uuid"},"message":{"type":"string"},"status":{"$ref":"#/components/schemas/ProblemReportStatus"},"createdAt":{"type":"string","format":"date-time"},"resolvedAt":{"type":["null","string"],"format":"date-time"},"resolution":{"type":["null","string"]}}},"ProblemReportStatus":{"enum":["open","resolved"]},"ProjectDto":{"required":["id","name","createdAt","headVersionId","renderable","copiedFromVersionId"],"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"headVersionId":{"type":["null","string"],"format":"uuid"},"renderable":{"type":["null","boolean"]},"copiedFromVersionId":{"type":["null","string"],"format":"uuid"},"thumbnailUrl":{"type":["null","string"]}}},"ProjectFileDto":{"required":["path","kind","sizeBytes","contentType","sha256","versionId","versionNumber"],"type":"object","properties":{"path":{"type":"string"},"kind":{"$ref":"#/components/schemas/BlobKind"},"sizeBytes":{"type":"integer","format":"int64"},"contentType":{"type":"string"},"sha256":{"type":"string"},"versionId":{"type":"string","format":"uuid"},"versionNumber":{"type":"integer","format":"int32"}}},"RateControl":{"enum":["quality","vbr","cbr","cqp"]},"RecoverWebhookRequest":{"type":"object","properties":{"since":{"type":["null","string"],"format":"date-time"}},"additionalProperties":false},"RenameRequest":{"examples":[{"name":"Summer sale 2026"}],"required":["name"],"type":"object","properties":{"name":{"maxLength":200,"type":"string"}},"additionalProperties":false},"RenderArchiveDto":{"required":["id","status","renderIds","fileName","url","sizeBytes","error","createdAt","finishedAt","expiresAt"],"type":"object","properties":{"id":{"type":"string","format":"uuid"},"status":{"$ref":"#/components/schemas/RenderArchiveStatus"},"renderIds":{"type":"array","items":{"type":"string","format":"uuid"}},"fileName":{"type":"string"},"url":{"type":["null","string"]},"sizeBytes":{"type":["null","integer"],"format":"int64"},"error":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/ApiError"}]},"createdAt":{"type":"string","format":"date-time"},"finishedAt":{"type":["null","string"],"format":"date-time"},"expiresAt":{"type":"string","format":"date-time"}}},"RenderArchiveStatus":{"enum":["queued","building","ready","failed"]},"RenderBatchDto":{"required":["renders"],"type":"object","properties":{"renders":{"type":"array","items":{"$ref":"#/components/schemas/RenderDto"}}}},"RenderBatchItem":{"examples":[{"format":"mp4","quality":"high","name":"Spanish","replacements":[{"layer":"/layers/0","text":"Rebajas de verano"}]}],"type":"object","properties":{"format":{"$ref":"#/components/schemas/RenderFormat"},"quality":{"$ref":"#/components/schemas/RenderQuality"},"frames":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/FrameRange"}]},"audio":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/AudioTrack"}]},"name":{"maxLength":200,"type":["null","string"]},"replacements":{"type":["null","array"],"items":{"$ref":"#/components/schemas/Replacement"}},"codec":{"$ref":"#/components/schemas/VideoCodec"},"encoding":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/RenderEncoding"}]},"posterFrame":{"type":["null","integer"],"format":"int32"},"versionId":{"type":["null","string"],"format":"uuid"},"variation":{"maxLength":100,"type":["null","string"]},"size":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/RenderSize"}]}},"additionalProperties":false},"RenderBulkDto":{"required":["renders","notFound"],"type":"object","properties":{"renders":{"type":"array","items":{"$ref":"#/components/schemas/RenderDto"}},"notFound":{"type":"array","items":{"type":"string","format":"uuid"}}}},"RenderDto":{"required":["id","projectId","versionId","sourceVersionId","format","quality","frames","audio","status","cancelRequested","error","chargedSeconds","refundedSeconds","createdAt","startedAt","finishedAt","output","warnings"],"type":"object","properties":{"id":{"type":"string","format":"uuid"},"projectId":{"type":"string","format":"uuid"},"versionId":{"type":["null","string"],"format":"uuid"},"sourceVersionId":{"type":"string","format":"uuid"},"format":{"$ref":"#/components/schemas/RenderFormat"},"quality":{"oneOf":[{"type":"null"},{"description":"The quality level that set the video\u0027s bitrate. Null for frames, and when encoding.rateControl is vbr, cbr or cqp.","$ref":"#/components/schemas/RenderQuality"}]},"frames":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/FrameRange"}]},"audio":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/AudioTrack"}]},"status":{"$ref":"#/components/schemas/RenderStatus"},"cancelRequested":{"type":"boolean","description":"True once cancelling was asked for while the render was running: it stays rendering until it stops, then turns cancelled."},"error":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/ApiError"}]},"chargedSeconds":{"type":"integer","format":"int64"},"refundedSeconds":{"type":"integer","format":"int64"},"createdAt":{"type":"string","format":"date-time"},"startedAt":{"type":["null","string"],"format":"date-time"},"finishedAt":{"type":["null","string"],"format":"date-time"},"output":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/RenderOutputDto"}]},"warnings":{"type":"array","items":{"type":"string"},"description":"What renders differently in the version the render rendered (versionId), such as text cut off at the frame\u0027s edge. Empty while versionId is null."},"name":{"type":["null","string"]},"playback":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/PlaybackState"}]},"replacements":{"type":["null","array"],"items":{"$ref":"#/components/schemas/RenderReplacement"},"description":"The replacements the render was created with. Left out unless one render is read: only the answer to creating a render and \u0060GET /v1/renders/{renderId}\u0060 carry it, and only for a render with replacements."},"codec":{"oneOf":[{"type":"null"},{"description":"The video codec of an mp4 or hls render: h264, hevc or av1. Left out for frames.","$ref":"#/components/schemas/VideoCodec"}]},"encoding":{"oneOf":[{"type":"null"},{"description":"The encoder settings the render asked for. Left out when its quality level set the bitrate.","$ref":"#/components/schemas/RenderEncoding"}]},"posterFrame":{"type":["null","integer"],"description":"The frame of an mp4 or hls render its poster shows, from 0, when the render named one; otherwise the poster is the middle frame.","format":"int32"},"variation":{"type":["null","string"],"description":"The variation whose head the render rendered: main unless the request named another. Null for a render of a versionId."},"size":{"oneOf":[{"type":"null"},{"description":"The width and height the render scales the composition to, when the request named a size; otherwise the composition\u0027s.","$ref":"#/components/schemas/RenderSize"}]}}},"RenderEncoding":{"type":"object","properties":{"rateControl":{"$ref":"#/components/schemas/RateControl"},"bitrateKbps":{"type":["null","integer"],"format":"int32"},"maxBitrateKbps":{"type":["null","integer"],"format":"int32"},"qp":{"type":["null","integer"],"format":"int32"},"frameRate":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/RenderFrameRate"}]},"gopFrames":{"type":["null","integer"],"format":"int32"},"idrFrames":{"type":["null","integer"],"format":"int32"},"preset":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/EncoderPreset"}]},"profile":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/VideoProfile"}]},"level":{"type":["null","number"],"format":"double"},"colorTag":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/ColorTag"}]},"hlsSegmentSeconds":{"type":["null","integer"],"format":"int32"}},"additionalProperties":false,"description":"Encoder settings a render passes to the engine; without them its quality level sets a variable bitrate."},"RenderFormat":{"enum":["mp4","hls","frames"]},"RenderFrameRate":{"required":["numerator"],"type":"object","properties":{"numerator":{"type":"integer","format":"int32"},"denominator":{"type":"integer","format":"int32","default":1}},"additionalProperties":false},"RenderIdsRequest":{"examples":[{"renderIds":["0f8e6d4c-2b1a-4c3d-9e8f-7a6b5c4d3e2f","1a2b3c4d-5e6f-4a1b-8c9d-0e1f2a3b4c5d"]}],"required":["renderIds"],"type":"object","properties":{"renderIds":{"type":"array","items":{"type":"string","format":"uuid"}}},"additionalProperties":false},"RenderLinkDto":{"required":["id","projectId","projectName","versionId","variation","quality","url","createdAt"],"type":"object","properties":{"id":{"type":"string"},"projectId":{"type":"string","format":"uuid"},"projectName":{"type":"string"},"versionId":{"type":["null","string"],"format":"uuid"},"variation":{"type":["null","string"]},"quality":{"$ref":"#/components/schemas/RenderQuality"},"url":{"type":"string"},"createdAt":{"type":"string","format":"date-time"}}},"RenderOutputDto":{"required":["mp4Url","hlsUrl","frameUrls","expiresAt"],"type":"object","properties":{"mp4Url":{"type":["null","string"]},"hlsUrl":{"type":["null","string"]},"frameUrls":{"type":["null","array"],"items":{"type":"string"}},"expiresAt":{"type":"string","format":"date-time"},"posterUrl":{"type":["null","string"]}}},"RenderQuality":{"enum":["low","medium","high","extraHigh"]},"RenderReplacement":{"required":["layer"],"type":"object","properties":{"layer":{"type":"string"},"text":{"type":["null","string"]},"font":{"type":["null","string"]},"path":{"type":["null","string"]},"file":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/RenderReplacementFile"}]},"fit":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/MediaFit"}]},"justify":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/TextJustify"}]}}},"RenderReplacementFile":{"required":["path","uploadId"],"type":"object","properties":{"path":{"type":"string"},"uploadId":{"type":"string","format":"uuid"}}},"RenderSize":{"required":["width","height"],"type":"object","properties":{"width":{"type":"integer","format":"int32"},"height":{"type":"integer","format":"int32"}},"additionalProperties":false},"RenderStatus":{"enum":["queued","rendering","succeeded","failed","cancelled"]},"Replacement":{"examples":[{"layer":"/layers/0","text":"Summer sale","font":"montserrat-bold"}],"required":["layer"],"type":"object","properties":{"layer":{"type":"string"},"text":{"type":["null","string"]},"font":{"type":["null","string"]},"path":{"type":["null","string"]},"file":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/EditFile"}]},"fit":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/MediaFit"}]},"justify":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/TextJustify"}]}},"additionalProperties":false},"RotateWebhookSecretRequest":{"examples":[{"gracePeriodSeconds":0}],"type":"object","properties":{"gracePeriodSeconds":{"type":["null","integer"],"format":"int32"}},"additionalProperties":false},"SendFeedbackRequest":{"examples":[{"category":"missing","tool":"edit_project","impact":"workedAround","message":"No way to crop a video layer, so I scaled it instead."}],"required":["message","category"],"type":"object","properties":{"message":{"maxLength":2000,"type":"string"},"category":{"$ref":"#/components/schemas/FeedbackCategory"},"tool":{"maxLength":100,"type":["null","string"]},"impact":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/FeedbackImpact"}]}},"additionalProperties":false},"SentFeedbackDto":{"required":["id"],"type":"object","properties":{"id":{"type":"string","format":"uuid"}}},"TextJustify":{"enum":["left","center","right"]},"TextLayerDto":{"required":["layer","name","text","font","fontSize","textFit"],"type":"object","properties":{"layer":{"type":"string"},"name":{"type":["null","string"]},"text":{"type":"string"},"font":{"type":["null","string"]},"fontSize":{"type":["null","number"],"format":"double"},"textFit":{"type":"boolean"}}},"UpdateWebhookRequest":{"examples":[{"events":["render.succeeded","download_archive.ready"],"enabled":true}],"type":"object","properties":{"url":{"maxLength":2048,"type":["null","string"]},"events":{"type":["null","array"],"items":{"enum":["render.succeeded","render.failed","render.cancelled","download_archive.ready","download_archive.failed","version_export.ready","version_export.failed","variation_batch.finished","variation_batch.failed","balance.low"],"type":"string"}},"enabled":{"type":["null","boolean"]},"description":{"maxLength":200,"type":["null","string"]},"allEvents":{"type":["null","boolean"]}},"additionalProperties":false},"UploadCapabilities":{"required":["maxSizeBytes","singlePutMaxBytes","multipartPartSizeBytes","singleUploadLifetimeSeconds","multipartUploadLifetimeSeconds","partUrlLifetimeSeconds"],"type":"object","properties":{"maxSizeBytes":{"type":"integer","format":"int64"},"singlePutMaxBytes":{"type":"integer","format":"int64"},"multipartPartSizeBytes":{"type":"integer","format":"int64"},"singleUploadLifetimeSeconds":{"type":"integer","format":"int32"},"multipartUploadLifetimeSeconds":{"type":"integer","format":"int32"},"partUrlLifetimeSeconds":{"type":"integer","format":"int32"}}},"UploadDto":{"required":["id","status","fileName","sizeBytes","kind","url","method","expiresAt"],"type":"object","properties":{"id":{"type":"string","format":"uuid"},"status":{"$ref":"#/components/schemas/UploadStatus"},"fileName":{"type":"string"},"sizeBytes":{"type":"integer","format":"int64"},"kind":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/BlobKind"}]},"url":{"type":["null","string"]},"method":{"type":["null","string"]},"expiresAt":{"type":"string","format":"date-time"},"multipart":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/MultipartDto"}]},"error":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/ApiError"}]}}},"UploadFile":{"required":["fileName","sizeBytes"],"type":"object","properties":{"fileName":{"maxLength":255,"type":"string"},"sizeBytes":{"type":"integer","format":"int64"}},"additionalProperties":false},"UploadPartDto":{"required":["partNumber","url"],"type":"object","properties":{"partNumber":{"type":"integer","format":"int32"},"url":{"type":"string"}}},"UploadPartsRequest":{"type":"object","properties":{"partNumbers":{"type":["null","array"],"items":{"type":"integer","format":"int32"}}},"additionalProperties":false},"UploadsDto":{"required":["uploads"],"type":"object","properties":{"uploads":{"type":"array","items":{"$ref":"#/components/schemas/UploadDto"}}}},"UploadStatus":{"enum":["open","processing","ready","failed"]},"UsageDto":{"required":["plan","renderSecondsRemaining","monthlyRenderSeconds","periodEndsAt","trial","planEnded","noTrial","limits"],"type":"object","properties":{"plan":{"type":"string"},"renderSecondsRemaining":{"type":["null","integer"],"format":"int64"},"monthlyRenderSeconds":{"type":["null","integer"],"format":"int64"},"periodEndsAt":{"type":["null","string"],"format":"date-time"},"trial":{"type":"boolean"},"planEnded":{"type":"boolean"},"noTrial":{"type":"boolean"},"limits":{"$ref":"#/components/schemas/PlanLimitsDto"},"storageBytes":{"type":"integer","format":"int64","default":0},"downloadBytes":{"type":"integer","format":"int64","default":0},"unlimited":{"type":"boolean"}}},"VariationBatchDto":{"required":["id","projectId","sourceVersionId","status","total","succeeded","failed","variations","error","createdAt","finishedAt"],"type":"object","properties":{"id":{"type":"string","format":"uuid"},"projectId":{"type":"string","format":"uuid"},"sourceVersionId":{"type":"string","format":"uuid"},"status":{"$ref":"#/components/schemas/VariationBatchStatus"},"total":{"type":"integer","format":"int32"},"succeeded":{"type":"integer","format":"int32"},"failed":{"type":"integer","format":"int32"},"variations":{"type":"array","items":{"$ref":"#/components/schemas/VariationBatchRowDto"}},"error":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/ApiError"}]},"createdAt":{"type":"string","format":"date-time"},"finishedAt":{"type":["null","string"],"format":"date-time"}}},"VariationBatchItem":{"examples":[{"name":"spanish","replacements":[{"layer":"/layers/0","text":"Rebajas de verano"}],"message":"Spanish copy"}],"required":["name"],"type":"object","properties":{"name":{"maxLength":100,"type":"string"},"replacements":{"type":["null","array"],"items":{"$ref":"#/components/schemas/Replacement"}},"message":{"type":["null","string"]}},"additionalProperties":false},"VariationBatchRowDto":{"required":["name","status","headVersionId","renderable","warnings","error"],"type":"object","properties":{"name":{"type":"string"},"status":{"$ref":"#/components/schemas/VariationBatchRowStatus"},"headVersionId":{"type":["null","string"],"format":"uuid"},"renderable":{"type":["null","boolean"]},"warnings":{"type":["null","array"],"items":{"type":"string"}},"error":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/ApiError"}]}}},"VariationBatchRowStatus":{"enum":["queued","succeeded","failed","skipped"]},"VariationBatchStatus":{"enum":["queued","running","finished","cancelled","failed"]},"VariationDto":{"required":["name","headVersionId","createdAt","renderable"],"type":"object","properties":{"name":{"type":"string"},"headVersionId":{"type":["null","string"],"format":"uuid"},"createdAt":{"type":"string","format":"date-time"},"renderable":{"type":["null","boolean"]}}},"VersionDto":{"required":["id","projectId","parentVersionId","number","message","createdAt","composition","renderable","problems","warnings","soundtrack","textFittingBaselineVersionId","files","name"],"type":"object","properties":{"id":{"type":"string","format":"uuid"},"projectId":{"type":"string","format":"uuid"},"parentVersionId":{"type":["null","string"],"format":"uuid"},"number":{"type":["null","integer"],"description":"The version\u0027s number in its project\u0027s history. Null for a render\u0027s own version, which is made from parentVersionId.","format":"int32"},"message":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"composition":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/CompositionDto"}]},"renderable":{"type":"boolean"},"problems":{"type":"array","items":{"type":"string"}},"warnings":{"type":"array","items":{"type":"string"}},"soundtrack":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/AudioTrack"}]},"textFittingBaselineVersionId":{"type":["null","string"],"format":"uuid"},"files":{"type":["null","array"],"items":{"$ref":"#/components/schemas/FileDto"}},"name":{"type":["null","string"]}}},"VersionExportDto":{"required":["id","projectId","versionId","kind","status","fileName","url","sizeBytes","error","createdAt","finishedAt","expiresAt"],"type":"object","properties":{"id":{"type":"string","format":"uuid"},"projectId":{"type":"string","format":"uuid"},"versionId":{"type":"string","format":"uuid"},"kind":{"$ref":"#/components/schemas/VersionExportKind"},"status":{"$ref":"#/components/schemas/VersionExportStatus"},"fileName":{"type":"string"},"url":{"type":["null","string"]},"sizeBytes":{"type":["null","integer"],"format":"int64"},"error":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/ApiError"}]},"createdAt":{"type":"string","format":"date-time"},"finishedAt":{"type":["null","string"],"format":"date-time"},"expiresAt":{"type":"string","format":"date-time"}}},"VersionExportKind":{"enum":["version","project"]},"VersionExportStatus":{"enum":["queued","building","ready","failed"]},"VideoCodec":{"enum":["h264","hevc","av1"]},"VideoProfile":{"enum":["baseline","main","high","high444","stereo","progressiveHigh","constrainedHigh","main10"]},"WebhookDeliveryDto":{"required":["id","messageId","eventType","status","attempts","lastStatusCode","lastError","lastResponse","createdAt","lastAttemptAt","nextAttemptAt","deliveredAt"],"type":"object","properties":{"id":{"type":"string","format":"uuid"},"messageId":{"type":"string","format":"uuid"},"eventType":{"$ref":"#/components/schemas/WebhookEventType"},"status":{"$ref":"#/components/schemas/WebhookDeliveryStatus"},"attempts":{"type":"integer","format":"int32"},"lastStatusCode":{"type":["null","integer"],"format":"int32"},"lastError":{"type":["null","string"]},"lastResponse":{"type":["null","string"]},"createdAt":{"type":"string","format":"date-time"},"lastAttemptAt":{"type":["null","string"],"format":"date-time"},"nextAttemptAt":{"type":["null","string"],"format":"date-time"},"deliveredAt":{"type":["null","string"],"format":"date-time"}}},"WebhookDeliveryStatus":{"enum":["pending","delivered","failed"]},"WebhookDto":{"required":["id","url","description","allEvents","events","enabled","disabledReason","disabledAt","previousSecretExpiresAt","createdAt"],"type":"object","properties":{"id":{"type":"string","format":"uuid"},"url":{"type":"string"},"description":{"type":["null","string"]},"allEvents":{"type":"boolean"},"events":{"type":"array","items":{"$ref":"#/components/schemas/WebhookEventType"}},"enabled":{"type":"boolean"},"disabledReason":{"type":["null","string"]},"disabledAt":{"type":["null","string"],"format":"date-time"},"previousSecretExpiresAt":{"type":["null","string"],"format":"date-time"},"createdAt":{"type":"string","format":"date-time"},"secret":{"type":["null","string"]}}},"WebhookEventType":{"enum":["render.succeeded","render.failed","render.cancelled","download_archive.ready","download_archive.failed","version_export.ready","version_export.failed","variation_batch.finished","variation_batch.failed","balance.low","webhook.test"]},"WebhookRecoveryDto":{"required":["queued","stillRetrying","notQueued"],"type":"object","properties":{"queued":{"type":"integer","description":"Missed events queued again.","format":"int32"},"stillRetrying":{"type":"integer","description":"Deliveries to the endpoint still waiting for their next attempt. Their events are not missed yet, so none was queued again.","format":"int32"},"notQueued":{"type":"integer","description":"Missed events left for a later call, because the endpoint has no room for more waiting deliveries.","format":"int32"}}},"WebhookSecretDto":{"required":["secret","previousSecretExpiresAt"],"type":"object","properties":{"secret":{"type":"string"},"previousSecretExpiresAt":{"type":["null","string"],"format":"date-time"}}},"ZipCapabilities":{"required":["maxFiles","maxUncompressedBytes","maxCompressionRatio"],"type":"object","properties":{"maxFiles":{"type":"integer","format":"int32"},"maxUncompressedBytes":{"type":"integer","format":"int64"},"maxCompressionRatio":{"type":"integer","format":"int32"}}},"ZipImportDto":{"required":["id","projectId","status","versionId","error","createdAt","finishedAt"],"type":"object","properties":{"id":{"type":"string","format":"uuid"},"projectId":{"type":"string","format":"uuid"},"status":{"$ref":"#/components/schemas/ZipImportStatus"},"versionId":{"type":["null","string"],"format":"uuid"},"error":{"oneOf":[{"type":"null"},{"$ref":"#/components/schemas/ApiError"}]},"createdAt":{"type":"string","format":"date-time"},"finishedAt":{"type":["null","string"],"format":"date-time"}}},"ZipImportStatus":{"enum":["queued","importing","succeeded","failed"]}},"securitySchemes":{"ApiKey":{"type":"http","description":"API key from the developer console.","scheme":"bearer","bearerFormat":"Blitframe API key"}}},"security":[{"ApiKey":[]}],"tags":[{"name":"API keys"},{"name":"Layers"},{"name":"Feedback"},{"name":"Fonts"},{"name":"Problem reports"},{"name":"Projects"},{"name":"Render links"},{"name":"Renders"},{"name":"Uploads"},{"name":"Workspace"},{"name":"Webhooks"}]}