{"openapi":"3.1.0","info":{"title":"everyfile.io Public API","version":"1.0.0","description":"Convert files programmatically. Create a job (upload a file or give a URL), wait for it by polling, long-polling or webhook, then download the result. API jobs spend the same credits as the website.\n\nGuides: https://everyfile.io/docs/api","contact":{"name":"everyfile.io","url":"https://everyfile.io"}},"servers":[{"url":"https://api.everyfile.io/v1","description":"Production"}],"tags":[{"name":"Jobs","description":"Create, track, cancel and delete conversions."},{"name":"Tasks","description":"Read the steps of your jobs; cancelling a task cancels its job."},{"name":"Uploads","description":"Multipart upload for files over 100 MB."},{"name":"Webhooks","description":"Signed notifications instead of polling."},{"name":"Discovery","description":"What is supported."},{"name":"Account","description":"The API key making the request."}],"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"cvio_live_… or cvio_test_…","description":"Send your API key as `Authorization: Bearer cvio_live_…`. Test-mode keys (`cvio_test_…`) run the same endpoints with simulated results and never charge credits."},"apiKeyHeader":{"type":"apiKey","in":"header","name":"X-API-Key","description":"Alternative to the bearer header: `X-API-Key: cvio_live_…`."}},"schemas":{"ConvertTask":{"type":"object","properties":{"operation":{"type":"string","enum":["convert"]},"input":{"type":"string","minLength":1},"input_format":{"type":"string","minLength":1,"description":"Source format, e.g. `png`. Required with `import/upload`. With `import/url` it may be omitted when the URL path ends in a file extension (e.g. `.png`), which is then used.","example":"png"},"output_format":{"type":"string","minLength":1},"options":{"type":"object","additionalProperties":{}}},"required":["operation","input","output_format"]},"CreatedWebhook":{"allOf":[{"$ref":"#/components/schemas/Webhook"},{"type":"object","properties":{"secret":{"type":"string","description":"Signing secret (`whsec_…`). Shown only once — store it now."}},"required":["secret"]}]},"CreateJobRequest":{"type":"object","properties":{"tasks":{"type":"object","additionalProperties":{"oneOf":[{"$ref":"#/components/schemas/ImportUploadTask"},{"$ref":"#/components/schemas/ImportUrlTask"},{"$ref":"#/components/schemas/ConvertTask"},{"$ref":"#/components/schemas/ExportUrlTask"}],"discriminator":{"propertyName":"operation","mapping":{"import/upload":"#/components/schemas/ImportUploadTask","import/url":"#/components/schemas/ImportUrlTask","convert":"#/components/schemas/ConvertTask","export/url":"#/components/schemas/ExportUrlTask"}}}},"tag":{"type":"string","maxLength":255}},"required":["tasks"],"example":{"tasks":{"import-1":{"operation":"import/upload"},"convert-1":{"operation":"convert","input":"import-1","input_format":"png","output_format":"webp"},"export-1":{"operation":"export/url","input":"convert-1"}},"tag":"optional-client-reference"}},"CreateWebhookRequest":{"type":"object","properties":{"url":{"type":"string","minLength":1,"maxLength":2048,"description":"https URL that receives the events. Private and internal addresses are refused.","example":"https://example.com/hooks/everyfile"},"events":{"type":"array","items":{"$ref":"#/components/schemas/WebhookEvent"},"minItems":1,"maxItems":4},"description":{"type":"string","maxLength":255}},"required":["url","events"]},"ErrorResponse":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["unauthorized","forbidden_scope","not_found","validation_failed","insufficient_credits","rate_limited","idempotency_conflict","unsupported_conversion","file_too_large","url_import_failed","internal"]},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{}},"request_id":{"type":"string"}},"required":["code","message","request_id"]}},"required":["error"]},"ExportUrlTask":{"type":"object","properties":{"operation":{"type":"string","enum":["export/url"]},"input":{"type":"string","minLength":1}},"required":["operation","input"]},"ImportUploadTask":{"type":"object","properties":{"operation":{"type":"string","enum":["import/upload"]}},"required":["operation"]},"ImportUrlTask":{"type":"object","properties":{"operation":{"type":"string","enum":["import/url"]},"url":{"type":"string","minLength":1,"maxLength":2048,"example":"https://example.com/photo.png"},"headers":{"type":"object","additionalProperties":{"type":"string","maxLength":2048},"description":"Request headers sent to the remote host (e.g. `Authorization`). Dropped on cross-origin redirects; stored encrypted."}},"required":["operation","url"]},"Job":{"type":"object","properties":{"id":{"type":"string"},"status":{"$ref":"#/components/schemas/JobStatus"},"mode":{"type":"string","enum":["single","chunked"]},"segmentCount":{"type":"integer"},"tag":{"type":"string"},"testMode":{"type":"boolean"},"test_mode":{"type":"boolean"},"credits_estimated":{"type":"number"},"credits_used":{"type":"number"},"tasks":{"type":"array","items":{"$ref":"#/components/schemas/Task"}},"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{}}},"required":["code","message"]},"createdAt":{"type":"string"},"created_at":{"type":"string"},"expires_at":{"type":["string","null"]},"api_key_id":{"type":["string","null"]},"warnings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","enum":["unknown_option_dropped"]},"option":{"type":"string"},"message":{"type":"string"}},"required":["code","option","message"]},"description":"Non-fatal notes on the create request. Present only when `options` carried keys that are not options for this conversion: they were ignored (`unknown_option_dropped`, one entry per key). Returned by `POST /v1/jobs` only."}},"required":["id","status","mode","testMode","test_mode","credits_estimated","tasks","createdAt","created_at","expires_at","api_key_id"]},"JobList":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/JobSummary"}},"page":{"type":"integer"},"per_page":{"type":"integer"},"total":{"type":"integer"}},"required":["data","page","per_page","total"]},"JobStatus":{"type":"string","enum":["waiting","queued","processing","finished","error","cancelled","expired"],"description":"`waiting` = before the source file is in place; `queued` = accepted, waiting for a capacity slot; `expired` = result retention elapsed (no download link)."},"JobSummary":{"type":"object","properties":{"id":{"type":"string"},"status":{"$ref":"#/components/schemas/JobStatus"},"mode":{"type":"string","enum":["single","chunked"]},"segmentCount":{"type":"integer"},"tag":{"type":"string"},"testMode":{"type":"boolean"},"test_mode":{"type":"boolean"},"credits_estimated":{"type":"number"},"credits_used":{"type":"number"},"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"details":{"type":"object","additionalProperties":{}}},"required":["code","message"]},"createdAt":{"type":"string"},"created_at":{"type":"string"},"expires_at":{"type":["string","null"]},"api_key_id":{"type":["string","null"]},"warnings":{"type":"array","items":{"type":"object","properties":{"code":{"type":"string","enum":["unknown_option_dropped"]},"option":{"type":"string"},"message":{"type":"string"}},"required":["code","option","message"]},"description":"Non-fatal notes on the create request. Present only when `options` carried keys that are not options for this conversion: they were ignored (`unknown_option_dropped`, one entry per key). Returned by `POST /v1/jobs` only."},"tasks":{"type":"array","items":{"$ref":"#/components/schemas/Task"}}},"required":["id","status","mode","testMode","test_mode","credits_estimated","createdAt","created_at","expires_at","api_key_id"]},"Me":{"type":"object","properties":{"organization_id":{"type":"string"},"mode":{"type":"string","enum":["live","test"]},"scopes":{"type":"array","items":{"type":"string","enum":["job.read","job.write","webhook.read","webhook.write"]}},"credits":{"type":"object","properties":{"balance":{"type":"number"}},"required":["balance"]}},"required":["organization_id","mode","scopes","credits"]},"MultipartCompleteRequest":{"type":"object","properties":{"parts":{"type":"array","items":{"type":"object","properties":{"part_number":{"type":"integer","minimum":1,"maximum":10000},"etag":{"type":"string","minLength":1,"maxLength":256}},"required":["part_number","etag"]},"minItems":1,"maxItems":10000}},"required":["parts"]},"MultipartCompleteResponse":{"type":"object","properties":{"size_bytes":{"type":"integer"}},"required":["size_bytes"]},"MultipartPartsRequest":{"type":"object","properties":{"part_numbers":{"type":"array","items":{"type":"integer","minimum":1,"maximum":10000},"minItems":1,"maxItems":100}},"required":["part_numbers"]},"MultipartPartsResponse":{"type":"object","properties":{"parts":{"type":"array","items":{"type":"object","properties":{"part_number":{"type":"integer"},"url":{"type":"string"},"expires_at":{"type":"string"}},"required":["part_number","url","expires_at"]}}},"required":["parts"]},"MultipartStartRequest":{"type":"object","properties":{"size_bytes":{"type":"integer","exclusiveMinimum":0,"description":"Exact size of the file you are about to upload. Rejected up front when it exceeds your plan's maximum.","example":524288000},"content_type":{"type":"string","maxLength":255}},"required":["size_bytes"]},"MultipartStartResponse":{"type":"object","properties":{"upload_id":{"type":"string"},"part_size":{"type":"integer","description":"Size in bytes of every part except the last."},"parts_expected":{"type":"integer"}},"required":["upload_id","part_size","parts_expected"]},"OpenApiDocument":{"type":"object","properties":{"openapi":{"type":"string"}},"required":["openapi"],"additionalProperties":{},"description":"An OpenAPI 3.1 document (this one)."},"Operation":{"type":"object","properties":{"input_format":{"type":"string"},"output_format":{"type":"string"},"group":{"type":"string"},"credits_estimated":{"type":"number"}},"required":["input_format","output_format","group","credits_estimated"]},"OperationsResponse":{"type":"object","properties":{"operations":{"type":"array","items":{"$ref":"#/components/schemas/Operation"}}},"required":["operations"]},"Task":{"type":"object","properties":{"name":{"type":"string"},"operation":{"type":"string","enum":["import/upload","import/url","convert","export/url"]},"status":{"$ref":"#/components/schemas/JobStatus"},"credits":{"type":"number"},"result":{"type":"object","properties":{"uploadUrl":{"type":"string"},"uploadExpiresAt":{"type":"string"},"url":{"type":"string"},"urlExpiresAt":{"type":"string"}}}},"required":["name","operation","status"]},"TaskList":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/TaskResource"}},"page":{"type":"integer"},"per_page":{"type":"integer"},"total":{"type":"integer","description":"Number of jobs that match; `page` and `per_page` count jobs, and each job contributes its tasks to `data`."}},"required":["data","page","per_page","total"]},"TaskResource":{"allOf":[{"$ref":"#/components/schemas/Task"},{"type":"object","properties":{"id":{"type":"string","description":"Task id: `<job id>:<task name>`.","example":"11111111-1111-4111-8111-111111111111:convert"},"job_id":{"type":"string","format":"uuid","description":"The job this task belongs to."}},"required":["id","job_id"]}]},"Webhook":{"type":"object","properties":{"id":{"type":"string"},"mode":{"type":"string","enum":["test","live"],"description":"`test` endpoints receive test-mode events only; `live` endpoints live events only."},"url":{"type":"string"},"events":{"type":"array","items":{"type":"string"}},"description":{"type":["string","null"]},"enabled":{"type":"boolean"},"disabled_reason":{"type":["string","null"],"description":"`gone_410`, `failing_5_days` or null while enabled."},"disabled_at":{"type":["string","null"]},"last_success_at":{"type":["string","null"]},"created_at":{"type":"string"}},"required":["id","mode","url","events","description","enabled","disabled_reason","disabled_at","last_success_at","created_at"]},"WebhookEvent":{"type":"string","enum":["job.created","job.finished","job.failed","job.cancelled"]},"WebhookList":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Webhook"}}},"required":["data"]},"WebhookTestResponse":{"type":"object","properties":{"delivery_id":{"type":"string"},"status":{"type":"string","enum":["queued"]}},"required":["delivery_id","status"]}},"parameters":{}},"paths":{"/jobs":{"get":{"operationId":"listJobs","summary":"List jobs","description":"Your organization's jobs, newest first. Filter by `status`, `tag` or the creating key (`api_key_id`); add `include=tasks` for task detail. Test keys list test jobs, live keys list live jobs.\n\n**Required scope:** `job.read`.","tags":["Jobs"],"security":[{"bearerAuth":[]},{"apiKeyHeader":[]}],"x-required-scope":"job.read","parameters":[{"schema":{"type":"integer","minimum":1,"maximum":100000,"default":1,"description":"1-based page number."},"required":false,"description":"1-based page number.","name":"page","in":"query"},{"schema":{"type":"integer","minimum":1,"maximum":100,"default":20,"description":"Jobs per page (max 100)."},"required":false,"description":"Jobs per page (max 100).","name":"per_page","in":"query"},{"schema":{"$ref":"#/components/schemas/JobStatus"},"required":false,"description":"`waiting` = before the source file is in place; `queued` = accepted, waiting for a capacity slot; `expired` = result retention elapsed (no download link).","name":"status","in":"query"},{"schema":{"type":"string","maxLength":255},"required":false,"name":"tag","in":"query"},{"schema":{"type":"string","format":"uuid","description":"Only jobs created by this API key."},"required":false,"description":"Only jobs created by this API key.","name":"api_key_id","in":"query"},{"schema":{"type":"string","enum":["tasks"],"description":"`tasks` adds each job's task list."},"required":false,"description":"`tasks` adds each job's task list.","name":"include","in":"query"}],"responses":{"200":{"description":"A page of jobs.","headers":{"X-RateLimit-Limit":{"description":"Requests allowed per window for this key.","schema":{"type":"string"}},"X-RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"string"}},"X-RateLimit-Reset":{"description":"Unix time (seconds) when the window resets.","schema":{"type":"string"}},"X-Request-Id":{"description":"Identifier to quote when contacting support.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobList"}}}},"400":{"description":"Request failed validation (`validation_failed`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Missing or invalid API key (`unauthorized`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The key lacks the required scope (`forbidden_scope`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit exceeded (`rate_limited`); see `Retry-After`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Unexpected error (`internal`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"A dependency is briefly unavailable (`internal`, `details.retryable` = true, e.g. `details.reason` = `storage_unavailable`); retry after `Retry-After`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"post":{"operationId":"createJob","summary":"Create a job","description":"Creates a conversion job from an import → convert → export task graph. With `import/upload` the response carries an upload URL on the import task: PUT the file there. With `import/url` the platform fetches the file itself. Then poll the job (optionally with `?wait=`) or use a webhook. Send an `Idempotency-Key` to make retries safe. Job creation has its own rate limit (free 30/min, paid 120/min); free-tier organizations can also have at most 5 active jobs at once (`429` `rate_limited` with `details.reason` = `active_job_limit_reached`).\n\n**Required scope:** `job.write`.","tags":["Jobs"],"security":[{"bearerAuth":[]},{"apiKeyHeader":[]}],"x-required-scope":"job.write","parameters":[{"schema":{"type":"string","description":"Opaque key (max 255 chars). A retry with the same key and body returns the original response with `Idempotent-Replayed: true`; a different body returns 422."},"required":false,"description":"Opaque key (max 255 chars). A retry with the same key and body returns the original response with `Idempotent-Replayed: true`; a different body returns 422.","name":"Idempotency-Key","in":"header"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateJobRequest"}}}},"responses":{"201":{"description":"Job created.","headers":{"X-RateLimit-Limit":{"description":"Requests allowed per window for this key.","schema":{"type":"string"}},"X-RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"string"}},"X-RateLimit-Reset":{"description":"Unix time (seconds) when the window resets.","schema":{"type":"string"}},"X-Request-Id":{"description":"Identifier to quote when contacting support.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Job"}}}},"400":{"description":"Invalid request (`validation_failed`, with `details.field` and, for `options`, `details.fields` mapping each bad option to the reason: out of range, wrong type, or not supported yet) or an unsupported pair (`unsupported_conversion`). Unknown option keys are not an error: they are ignored and named in the 201 response's `warnings`.","headers":{"X-RateLimit-Limit":{"description":"Requests allowed per window for this key.","schema":{"type":"string"}},"X-RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"string"}},"X-RateLimit-Reset":{"description":"Unix time (seconds) when the window resets.","schema":{"type":"string"}},"X-Request-Id":{"description":"Identifier to quote when contacting support.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Missing or invalid API key (`unauthorized`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"Not enough credits (`insufficient_credits`).","headers":{"X-RateLimit-Limit":{"description":"Requests allowed per window for this key.","schema":{"type":"string"}},"X-RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"string"}},"X-RateLimit-Reset":{"description":"Unix time (seconds) when the window resets.","schema":{"type":"string"}},"X-Request-Id":{"description":"Identifier to quote when contacting support.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The key lacks the required scope (`forbidden_scope`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"A request with this `Idempotency-Key` is still being processed (`idempotency_conflict`).","headers":{"X-RateLimit-Limit":{"description":"Requests allowed per window for this key.","schema":{"type":"string"}},"X-RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"string"}},"X-RateLimit-Reset":{"description":"Unix time (seconds) when the window resets.","schema":{"type":"string"}},"X-Request-Id":{"description":"Identifier to quote when contacting support.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"The JSON request body is larger than 1 MB (`validation_failed`, `details.reason` = `body_too_large`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"`Idempotency-Key` reused with a different body (`idempotency_conflict`).","headers":{"X-RateLimit-Limit":{"description":"Requests allowed per window for this key.","schema":{"type":"string"}},"X-RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"string"}},"X-RateLimit-Reset":{"description":"Unix time (seconds) when the window resets.","schema":{"type":"string"}},"X-Request-Id":{"description":"Identifier to quote when contacting support.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit exceeded (`rate_limited`); see `Retry-After`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Unexpected error (`internal`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"A dependency is briefly unavailable (`internal`, `details.retryable` = true, e.g. `details.reason` = `storage_unavailable`); retry after `Retry-After`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/jobs/{id}":{"get":{"operationId":"getJob","summary":"Get a job","description":"Returns the job and its tasks. Polling this endpoint also advances the job as soon as your upload is detected. Pass `wait` to long-poll for the next status change. Any key of the owning organization (and key mode) can read the job.\n\n**Required scope:** `job.read`.","tags":["Jobs"],"security":[{"bearerAuth":[]},{"apiKeyHeader":[]}],"x-required-scope":"job.read","parameters":[{"schema":{"type":"string","format":"uuid","description":"Job id."},"required":true,"description":"Job id.","name":"id","in":"path"},{"schema":{"type":["integer","null"],"minimum":0,"maximum":25,"description":"Hold the request until the job's status changes or this many seconds pass (0–25).","example":20},"required":false,"description":"Hold the request until the job's status changes or this many seconds pass (0–25).","name":"wait","in":"query"}],"responses":{"200":{"description":"The job.","headers":{"X-RateLimit-Limit":{"description":"Requests allowed per window for this key.","schema":{"type":"string"}},"X-RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"string"}},"X-RateLimit-Reset":{"description":"Unix time (seconds) when the window resets.","schema":{"type":"string"}},"X-Request-Id":{"description":"Identifier to quote when contacting support.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Job"}}}},"400":{"description":"Request failed validation (`validation_failed`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Missing or invalid API key (`unauthorized`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The key lacks the required scope (`forbidden_scope`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Job not found (`not_found`).","headers":{"X-RateLimit-Limit":{"description":"Requests allowed per window for this key.","schema":{"type":"string"}},"X-RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"string"}},"X-RateLimit-Reset":{"description":"Unix time (seconds) when the window resets.","schema":{"type":"string"}},"X-Request-Id":{"description":"Identifier to quote when contacting support.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit exceeded (`rate_limited`); see `Retry-After`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Unexpected error (`internal`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"A dependency is briefly unavailable (`internal`, `details.retryable` = true, e.g. `details.reason` = `storage_unavailable`); retry after `Retry-After`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"delete":{"operationId":"deleteJob","summary":"Delete a job","description":"Removes the job and its stored files. A job that has not started converting is cancelled first (credits released). A job that is being processed right now cannot be deleted (409).\n\n**Required scope:** `job.write`.","tags":["Jobs"],"security":[{"bearerAuth":[]},{"apiKeyHeader":[]}],"x-required-scope":"job.write","parameters":[{"schema":{"type":"string","format":"uuid","description":"Job id."},"required":true,"description":"Job id.","name":"id","in":"path"}],"responses":{"204":{"description":"Deleted.","headers":{"X-RateLimit-Limit":{"description":"Requests allowed per window for this key.","schema":{"type":"string"}},"X-RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"string"}},"X-RateLimit-Reset":{"description":"Unix time (seconds) when the window resets.","schema":{"type":"string"}},"X-Request-Id":{"description":"Identifier to quote when contacting support.","schema":{"type":"string"}}}},"400":{"description":"Request failed validation (`validation_failed`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Missing or invalid API key (`unauthorized`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The key lacks the required scope (`forbidden_scope`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Job not found (`not_found`).","headers":{"X-RateLimit-Limit":{"description":"Requests allowed per window for this key.","schema":{"type":"string"}},"X-RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"string"}},"X-RateLimit-Reset":{"description":"Unix time (seconds) when the window resets.","schema":{"type":"string"}},"X-Request-Id":{"description":"Identifier to quote when contacting support.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"The job is being processed (`validation_failed`).","headers":{"X-RateLimit-Limit":{"description":"Requests allowed per window for this key.","schema":{"type":"string"}},"X-RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"string"}},"X-RateLimit-Reset":{"description":"Unix time (seconds) when the window resets.","schema":{"type":"string"}},"X-Request-Id":{"description":"Identifier to quote when contacting support.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit exceeded (`rate_limited`); see `Retry-After`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Unexpected error (`internal`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"A dependency is briefly unavailable (`internal`, `details.retryable` = true, e.g. `details.reason` = `storage_unavailable`); retry after `Retry-After`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/jobs/{id}/cancel":{"post":{"operationId":"cancelJob","summary":"Cancel a job","description":"Cancels a job that is waiting for its file or queued, and releases its credits. A job that is already being processed or has finished cannot be cancelled (409). Sends a `job.cancelled` event.\n\n**Required scope:** `job.write`.","tags":["Jobs"],"security":[{"bearerAuth":[]},{"apiKeyHeader":[]}],"x-required-scope":"job.write","parameters":[{"schema":{"type":"string","format":"uuid","description":"Job id."},"required":true,"description":"Job id.","name":"id","in":"path"}],"responses":{"200":{"description":"The cancelled job.","headers":{"X-RateLimit-Limit":{"description":"Requests allowed per window for this key.","schema":{"type":"string"}},"X-RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"string"}},"X-RateLimit-Reset":{"description":"Unix time (seconds) when the window resets.","schema":{"type":"string"}},"X-Request-Id":{"description":"Identifier to quote when contacting support.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Job"}}}},"400":{"description":"Request failed validation (`validation_failed`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Missing or invalid API key (`unauthorized`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The key lacks the required scope (`forbidden_scope`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Job not found (`not_found`).","headers":{"X-RateLimit-Limit":{"description":"Requests allowed per window for this key.","schema":{"type":"string"}},"X-RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"string"}},"X-RateLimit-Reset":{"description":"Unix time (seconds) when the window resets.","schema":{"type":"string"}},"X-Request-Id":{"description":"Identifier to quote when contacting support.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"The job is processing or already finished (`validation_failed`, `details.reason`).","headers":{"X-RateLimit-Limit":{"description":"Requests allowed per window for this key.","schema":{"type":"string"}},"X-RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"string"}},"X-RateLimit-Reset":{"description":"Unix time (seconds) when the window resets.","schema":{"type":"string"}},"X-Request-Id":{"description":"Identifier to quote when contacting support.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit exceeded (`rate_limited`); see `Retry-After`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Unexpected error (`internal`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"A dependency is briefly unavailable (`internal`, `details.retryable` = true, e.g. `details.reason` = `storage_unavailable`); retry after `Retry-After`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/jobs/{id}/uploads/multipart":{"post":{"operationId":"startMultipartUpload","summary":"Start a multipart upload","description":"For files over 100 MB. Declare the exact size, then request part URLs, PUT each part, and complete the upload. Rejected with `file_too_large` when the size exceeds your plan's maximum.\n\n**Required scope:** `job.write`.","tags":["Uploads"],"security":[{"bearerAuth":[]},{"apiKeyHeader":[]}],"x-required-scope":"job.write","parameters":[{"schema":{"type":"string","format":"uuid","description":"Job id."},"required":true,"description":"Job id.","name":"id","in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MultipartStartRequest"}}}},"responses":{"200":{"description":"An upload was already started for this job; returned as-is.","headers":{"X-RateLimit-Limit":{"description":"Requests allowed per window for this key.","schema":{"type":"string"}},"X-RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"string"}},"X-RateLimit-Reset":{"description":"Unix time (seconds) when the window resets.","schema":{"type":"string"}},"X-Request-Id":{"description":"Identifier to quote when contacting support.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MultipartStartResponse"}}}},"201":{"description":"Upload started.","headers":{"X-RateLimit-Limit":{"description":"Requests allowed per window for this key.","schema":{"type":"string"}},"X-RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"string"}},"X-RateLimit-Reset":{"description":"Unix time (seconds) when the window resets.","schema":{"type":"string"}},"X-Request-Id":{"description":"Identifier to quote when contacting support.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MultipartStartResponse"}}}},"400":{"description":"Request failed validation (`validation_failed`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Missing or invalid API key (`unauthorized`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The key lacks the required scope (`forbidden_scope`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Job not found (`not_found`).","headers":{"X-RateLimit-Limit":{"description":"Requests allowed per window for this key.","schema":{"type":"string"}},"X-RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"string"}},"X-RateLimit-Reset":{"description":"Unix time (seconds) when the window resets.","schema":{"type":"string"}},"X-Request-Id":{"description":"Identifier to quote when contacting support.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Declared size is over the limit (`file_too_large`).","headers":{"X-RateLimit-Limit":{"description":"Requests allowed per window for this key.","schema":{"type":"string"}},"X-RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"string"}},"X-RateLimit-Reset":{"description":"Unix time (seconds) when the window resets.","schema":{"type":"string"}},"X-Request-Id":{"description":"Identifier to quote when contacting support.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit exceeded (`rate_limited`); see `Retry-After`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Unexpected error (`internal`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"A dependency is briefly unavailable (`internal`, `details.retryable` = true, e.g. `details.reason` = `storage_unavailable`); retry after `Retry-After`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/jobs/{id}/uploads/multipart/abort":{"post":{"operationId":"abortMultipartUpload","summary":"Abort a multipart upload","description":"Discards every part uploaded so far. The job stays open, so you can start the upload again or use the single-file upload URL.\n\n**Required scope:** `job.write`.","tags":["Uploads"],"security":[{"bearerAuth":[]},{"apiKeyHeader":[]}],"x-required-scope":"job.write","parameters":[{"schema":{"type":"string","format":"uuid","description":"Job id."},"required":true,"description":"Job id.","name":"id","in":"path"}],"responses":{"204":{"description":"Upload aborted.","headers":{"X-RateLimit-Limit":{"description":"Requests allowed per window for this key.","schema":{"type":"string"}},"X-RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"string"}},"X-RateLimit-Reset":{"description":"Unix time (seconds) when the window resets.","schema":{"type":"string"}},"X-Request-Id":{"description":"Identifier to quote when contacting support.","schema":{"type":"string"}}}},"400":{"description":"Request failed validation (`validation_failed`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Missing or invalid API key (`unauthorized`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The key lacks the required scope (`forbidden_scope`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Job not found (`not_found`).","headers":{"X-RateLimit-Limit":{"description":"Requests allowed per window for this key.","schema":{"type":"string"}},"X-RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"string"}},"X-RateLimit-Reset":{"description":"Unix time (seconds) when the window resets.","schema":{"type":"string"}},"X-Request-Id":{"description":"Identifier to quote when contacting support.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit exceeded (`rate_limited`); see `Retry-After`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Unexpected error (`internal`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"A dependency is briefly unavailable (`internal`, `details.retryable` = true, e.g. `details.reason` = `storage_unavailable`); retry after `Retry-After`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/jobs/{id}/uploads/multipart/complete":{"post":{"operationId":"completeMultipartUpload","summary":"Complete a multipart upload","description":"Assembles the parts you uploaded. The job then starts converting on its own; poll it or use a webhook. If the assembled file exceeds the limit the job fails with `file_too_large` and nothing is charged.\n\n**Required scope:** `job.write`.","tags":["Uploads"],"security":[{"bearerAuth":[]},{"apiKeyHeader":[]}],"x-required-scope":"job.write","parameters":[{"schema":{"type":"string","format":"uuid","description":"Job id."},"required":true,"description":"Job id.","name":"id","in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MultipartCompleteRequest"}}}},"responses":{"200":{"description":"Upload assembled.","headers":{"X-RateLimit-Limit":{"description":"Requests allowed per window for this key.","schema":{"type":"string"}},"X-RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"string"}},"X-RateLimit-Reset":{"description":"Unix time (seconds) when the window resets.","schema":{"type":"string"}},"X-Request-Id":{"description":"Identifier to quote when contacting support.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MultipartCompleteResponse"}}}},"400":{"description":"Request failed validation (`validation_failed`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Missing or invalid API key (`unauthorized`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The key lacks the required scope (`forbidden_scope`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Job not found (`not_found`).","headers":{"X-RateLimit-Limit":{"description":"Requests allowed per window for this key.","schema":{"type":"string"}},"X-RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"string"}},"X-RateLimit-Reset":{"description":"Unix time (seconds) when the window resets.","schema":{"type":"string"}},"X-Request-Id":{"description":"Identifier to quote when contacting support.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"Assembled file is over the limit (`file_too_large`).","headers":{"X-RateLimit-Limit":{"description":"Requests allowed per window for this key.","schema":{"type":"string"}},"X-RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"string"}},"X-RateLimit-Reset":{"description":"Unix time (seconds) when the window resets.","schema":{"type":"string"}},"X-Request-Id":{"description":"Identifier to quote when contacting support.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit exceeded (`rate_limited`); see `Retry-After`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Unexpected error (`internal`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"A dependency is briefly unavailable (`internal`, `details.retryable` = true, e.g. `details.reason` = `storage_unavailable`); retry after `Retry-After`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/jobs/{id}/uploads/multipart/parts":{"post":{"operationId":"getMultipartUploadParts","summary":"Get upload URLs for parts","description":"Returns a time-limited URL for each requested part number (1-based, up to 100 per call). PUT the part bytes to the URL and keep the `ETag` response header for completion.\n\n**Required scope:** `job.write`.","tags":["Uploads"],"security":[{"bearerAuth":[]},{"apiKeyHeader":[]}],"x-required-scope":"job.write","parameters":[{"schema":{"type":"string","format":"uuid","description":"Job id."},"required":true,"description":"Job id.","name":"id","in":"path"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MultipartPartsRequest"}}}},"responses":{"200":{"description":"Part URLs.","headers":{"X-RateLimit-Limit":{"description":"Requests allowed per window for this key.","schema":{"type":"string"}},"X-RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"string"}},"X-RateLimit-Reset":{"description":"Unix time (seconds) when the window resets.","schema":{"type":"string"}},"X-Request-Id":{"description":"Identifier to quote when contacting support.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MultipartPartsResponse"}}}},"400":{"description":"Request failed validation (`validation_failed`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Missing or invalid API key (`unauthorized`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The key lacks the required scope (`forbidden_scope`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Job not found (`not_found`).","headers":{"X-RateLimit-Limit":{"description":"Requests allowed per window for this key.","schema":{"type":"string"}},"X-RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"string"}},"X-RateLimit-Reset":{"description":"Unix time (seconds) when the window resets.","schema":{"type":"string"}},"X-Request-Id":{"description":"Identifier to quote when contacting support.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"A part number is beyond the size limit (`file_too_large`).","headers":{"X-RateLimit-Limit":{"description":"Requests allowed per window for this key.","schema":{"type":"string"}},"X-RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"string"}},"X-RateLimit-Reset":{"description":"Unix time (seconds) when the window resets.","schema":{"type":"string"}},"X-Request-Id":{"description":"Identifier to quote when contacting support.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit exceeded (`rate_limited`); see `Retry-After`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Unexpected error (`internal`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"A dependency is briefly unavailable (`internal`, `details.retryable` = true, e.g. `details.reason` = `storage_unavailable`); retry after `Retry-After`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/me":{"get":{"operationId":"getMe","summary":"Describe the current API key","description":"Returns the organization, mode (`live`/`test`), scopes and credit balance for the key making the request.","tags":["Account"],"security":[{"bearerAuth":[]},{"apiKeyHeader":[]}],"responses":{"200":{"description":"The calling key.","headers":{"X-RateLimit-Limit":{"description":"Requests allowed per window for this key.","schema":{"type":"string"}},"X-RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"string"}},"X-RateLimit-Reset":{"description":"Unix time (seconds) when the window resets.","schema":{"type":"string"}},"X-Request-Id":{"description":"Identifier to quote when contacting support.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Me"}}}},"401":{"description":"Missing or invalid API key (`unauthorized`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The key lacks the required scope (`forbidden_scope`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit exceeded (`rate_limited`); see `Retry-After`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Unexpected error (`internal`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"A dependency is briefly unavailable (`internal`, `details.retryable` = true, e.g. `details.reason` = `storage_unavailable`); retry after `Retry-After`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/openapi.json":{"get":{"operationId":"getOpenApiDocument","summary":"OpenAPI document","description":"This API's OpenAPI 3.1 description, generated from the same schemas the endpoints validate with. No API key required.","tags":["Discovery"],"security":[],"responses":{"200":{"description":"OpenAPI 3.1 document.","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OpenApiDocument"}}}},"429":{"description":"Rate limit exceeded (`rate_limited`); see `Retry-After`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Unexpected error (`internal`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"A dependency is briefly unavailable (`internal`, `details.retryable` = true, e.g. `details.reason` = `storage_unavailable`); retry after `Retry-After`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/operations":{"get":{"operationId":"listOperations","summary":"List supported conversions","description":"Every enabled source → target format pair with an estimated cost in credits. No API key required.","tags":["Discovery"],"security":[],"responses":{"200":{"description":"Supported conversions.","headers":{},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OperationsResponse"}}}},"429":{"description":"Rate limit exceeded (`rate_limited`); see `Retry-After`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Unexpected error (`internal`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"A dependency is briefly unavailable (`internal`, `details.retryable` = true, e.g. `details.reason` = `storage_unavailable`); retry after `Retry-After`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/tasks":{"get":{"operationId":"listTasks","summary":"List tasks","description":"The tasks of your organization's jobs, newest job first. Tasks are the steps of a job (import, convert, export), so paging counts jobs and every job contributes its tasks. Filter by job `status`, `tag` or the creating key (`api_key_id`). Same visibility as `GET /jobs`: only your organization's jobs made with keys of the same mode.\n\n**Required scope:** `job.read`.","tags":["Tasks"],"security":[{"bearerAuth":[]},{"apiKeyHeader":[]}],"x-required-scope":"job.read","parameters":[{"schema":{"type":"integer","minimum":1,"maximum":100000,"default":1,"description":"1-based page number."},"required":false,"description":"1-based page number.","name":"page","in":"query"},{"schema":{"type":"integer","minimum":1,"maximum":100,"default":20,"description":"Jobs per page (max 100)."},"required":false,"description":"Jobs per page (max 100).","name":"per_page","in":"query"},{"schema":{"$ref":"#/components/schemas/JobStatus"},"required":false,"description":"`waiting` = before the source file is in place; `queued` = accepted, waiting for a capacity slot; `expired` = result retention elapsed (no download link).","name":"status","in":"query"},{"schema":{"type":"string","maxLength":255},"required":false,"name":"tag","in":"query"},{"schema":{"type":"string","format":"uuid","description":"Only jobs created by this API key."},"required":false,"description":"Only jobs created by this API key.","name":"api_key_id","in":"query"}],"responses":{"200":{"description":"A page of tasks.","headers":{"X-RateLimit-Limit":{"description":"Requests allowed per window for this key.","schema":{"type":"string"}},"X-RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"string"}},"X-RateLimit-Reset":{"description":"Unix time (seconds) when the window resets.","schema":{"type":"string"}},"X-Request-Id":{"description":"Identifier to quote when contacting support.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TaskList"}}}},"400":{"description":"Request failed validation (`validation_failed`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Missing or invalid API key (`unauthorized`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The key lacks the required scope (`forbidden_scope`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit exceeded (`rate_limited`); see `Retry-After`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Unexpected error (`internal`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"A dependency is briefly unavailable (`internal`, `details.retryable` = true, e.g. `details.reason` = `storage_unavailable`); retry after `Retry-After`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/tasks/{id}":{"get":{"operationId":"getTask","summary":"Get a task","description":"Returns one task of one of your jobs. The id is `<job id>:<task name>`, as listed in `GET /jobs/{id}` and `GET /tasks`. A task that does not exist and a task of someone else's job both return `not_found`. Unlike `GET /jobs/{id}`, this read does not advance the job or long-poll.\n\n**Required scope:** `job.read`.","tags":["Tasks"],"security":[{"bearerAuth":[]},{"apiKeyHeader":[]}],"x-required-scope":"job.read","parameters":[{"schema":{"type":"string","description":"Task id: `<job id>:<task name>`.","example":"11111111-1111-4111-8111-111111111111:convert"},"required":true,"description":"Task id: `<job id>:<task name>`.","name":"id","in":"path"}],"responses":{"200":{"description":"The task.","headers":{"X-RateLimit-Limit":{"description":"Requests allowed per window for this key.","schema":{"type":"string"}},"X-RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"string"}},"X-RateLimit-Reset":{"description":"Unix time (seconds) when the window resets.","schema":{"type":"string"}},"X-Request-Id":{"description":"Identifier to quote when contacting support.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TaskResource"}}}},"400":{"description":"Request failed validation (`validation_failed`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Missing or invalid API key (`unauthorized`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The key lacks the required scope (`forbidden_scope`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Task not found (`not_found`).","headers":{"X-RateLimit-Limit":{"description":"Requests allowed per window for this key.","schema":{"type":"string"}},"X-RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"string"}},"X-RateLimit-Reset":{"description":"Unix time (seconds) when the window resets.","schema":{"type":"string"}},"X-Request-Id":{"description":"Identifier to quote when contacting support.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit exceeded (`rate_limited`); see `Retry-After`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Unexpected error (`internal`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"A dependency is briefly unavailable (`internal`, `details.retryable` = true, e.g. `details.reason` = `storage_unavailable`); retry after `Retry-After`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/tasks/{id}/cancel":{"post":{"operationId":"cancelTask","summary":"Cancel a task","description":"Cancelling a task cancels its whole job: the same as `POST /jobs/{id}/cancel`, with the same rules (a job that is waiting or queued can be cancelled; one that is processing or finished returns 409) and one `job.cancelled` webhook. Returns the task with its cancelled status.\n\n**Required scope:** `job.write`.","tags":["Tasks"],"security":[{"bearerAuth":[]},{"apiKeyHeader":[]}],"x-required-scope":"job.write","parameters":[{"schema":{"type":"string","description":"Task id: `<job id>:<task name>`.","example":"11111111-1111-4111-8111-111111111111:convert"},"required":true,"description":"Task id: `<job id>:<task name>`.","name":"id","in":"path"}],"responses":{"200":{"description":"The task, now cancelled.","headers":{"X-RateLimit-Limit":{"description":"Requests allowed per window for this key.","schema":{"type":"string"}},"X-RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"string"}},"X-RateLimit-Reset":{"description":"Unix time (seconds) when the window resets.","schema":{"type":"string"}},"X-Request-Id":{"description":"Identifier to quote when contacting support.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TaskResource"}}}},"400":{"description":"Request failed validation (`validation_failed`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Missing or invalid API key (`unauthorized`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The key lacks the required scope (`forbidden_scope`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Task not found (`not_found`).","headers":{"X-RateLimit-Limit":{"description":"Requests allowed per window for this key.","schema":{"type":"string"}},"X-RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"string"}},"X-RateLimit-Reset":{"description":"Unix time (seconds) when the window resets.","schema":{"type":"string"}},"X-Request-Id":{"description":"Identifier to quote when contacting support.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"The job is processing or already finished (`validation_failed`, `details.reason`).","headers":{"X-RateLimit-Limit":{"description":"Requests allowed per window for this key.","schema":{"type":"string"}},"X-RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"string"}},"X-RateLimit-Reset":{"description":"Unix time (seconds) when the window resets.","schema":{"type":"string"}},"X-Request-Id":{"description":"Identifier to quote when contacting support.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit exceeded (`rate_limited`); see `Retry-After`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Unexpected error (`internal`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"A dependency is briefly unavailable (`internal`, `details.retryable` = true, e.g. `details.reason` = `storage_unavailable`); retry after `Retry-After`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/webhooks":{"get":{"operationId":"listWebhooks","summary":"List webhooks","description":"Webhook endpoints of your organization for the mode of your API key (a test key lists test endpoints only, a live key live endpoints only), with their health (`enabled`, `disabled_reason`, `last_success_at`). Signing secrets are never returned.\n\n**Required scope:** `webhook.read`.","tags":["Webhooks"],"security":[{"bearerAuth":[]},{"apiKeyHeader":[]}],"x-required-scope":"webhook.read","responses":{"200":{"description":"Webhooks.","headers":{"X-RateLimit-Limit":{"description":"Requests allowed per window for this key.","schema":{"type":"string"}},"X-RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"string"}},"X-RateLimit-Reset":{"description":"Unix time (seconds) when the window resets.","schema":{"type":"string"}},"X-Request-Id":{"description":"Identifier to quote when contacting support.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookList"}}}},"401":{"description":"Missing or invalid API key (`unauthorized`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The key lacks the required scope (`forbidden_scope`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit exceeded (`rate_limited`); see `Retry-After`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Unexpected error (`internal`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"A dependency is briefly unavailable (`internal`, `details.retryable` = true, e.g. `details.reason` = `storage_unavailable`); retry after `Retry-After`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}},"post":{"operationId":"createWebhook","summary":"Create a webhook","description":"Registers an https endpoint for job events. The endpoint belongs to the mode of the API key you call with: test keys register test endpoints (they receive test-mode events only), live keys live endpoints. The response includes the signing secret — it is shown only once. See the webhooks guide for the `Everyfile-Signature` header and how to verify it.\n\n**Required scope:** `webhook.write`.","tags":["Webhooks"],"security":[{"bearerAuth":[]},{"apiKeyHeader":[]}],"x-required-scope":"webhook.write","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateWebhookRequest"}}}},"responses":{"201":{"description":"Webhook created.","headers":{"X-RateLimit-Limit":{"description":"Requests allowed per window for this key.","schema":{"type":"string"}},"X-RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"string"}},"X-RateLimit-Reset":{"description":"Unix time (seconds) when the window resets.","schema":{"type":"string"}},"X-Request-Id":{"description":"Identifier to quote when contacting support.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreatedWebhook"}}}},"400":{"description":"Request failed validation (`validation_failed`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Missing or invalid API key (`unauthorized`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The key lacks the required scope (`forbidden_scope`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"The JSON request body is larger than 1 MB (`validation_failed`, `details.reason` = `body_too_large`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit exceeded (`rate_limited`); see `Retry-After`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Unexpected error (`internal`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"A dependency is briefly unavailable (`internal`, `details.retryable` = true, e.g. `details.reason` = `storage_unavailable`); retry after `Retry-After`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/webhooks/{id}":{"delete":{"operationId":"deleteWebhook","summary":"Delete a webhook","description":"Stops all deliveries to the endpoint and removes its delivery history.\n\n**Required scope:** `webhook.write`.","tags":["Webhooks"],"security":[{"bearerAuth":[]},{"apiKeyHeader":[]}],"x-required-scope":"webhook.write","parameters":[{"schema":{"type":"string","format":"uuid","description":"Webhook id."},"required":true,"description":"Webhook id.","name":"id","in":"path"}],"responses":{"204":{"description":"Deleted.","headers":{"X-RateLimit-Limit":{"description":"Requests allowed per window for this key.","schema":{"type":"string"}},"X-RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"string"}},"X-RateLimit-Reset":{"description":"Unix time (seconds) when the window resets.","schema":{"type":"string"}},"X-Request-Id":{"description":"Identifier to quote when contacting support.","schema":{"type":"string"}}}},"400":{"description":"Request failed validation (`validation_failed`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Missing or invalid API key (`unauthorized`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The key lacks the required scope (`forbidden_scope`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Webhook not found (`not_found`).","headers":{"X-RateLimit-Limit":{"description":"Requests allowed per window for this key.","schema":{"type":"string"}},"X-RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"string"}},"X-RateLimit-Reset":{"description":"Unix time (seconds) when the window resets.","schema":{"type":"string"}},"X-Request-Id":{"description":"Identifier to quote when contacting support.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit exceeded (`rate_limited`); see `Retry-After`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Unexpected error (`internal`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"A dependency is briefly unavailable (`internal`, `details.retryable` = true, e.g. `details.reason` = `storage_unavailable`); retry after `Retry-After`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}},"/webhooks/{id}/test":{"post":{"operationId":"testWebhook","summary":"Send a test event","description":"Queues a signed sample `job.finished` event (with `\"test\": true`) to the endpoint, whatever events it subscribes to. Use it to check your signature verification.\n\n**Required scope:** `webhook.write`.","tags":["Webhooks"],"security":[{"bearerAuth":[]},{"apiKeyHeader":[]}],"x-required-scope":"webhook.write","parameters":[{"schema":{"type":"string","format":"uuid","description":"Webhook id."},"required":true,"description":"Webhook id.","name":"id","in":"path"}],"responses":{"202":{"description":"Queued.","headers":{"X-RateLimit-Limit":{"description":"Requests allowed per window for this key.","schema":{"type":"string"}},"X-RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"string"}},"X-RateLimit-Reset":{"description":"Unix time (seconds) when the window resets.","schema":{"type":"string"}},"X-Request-Id":{"description":"Identifier to quote when contacting support.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookTestResponse"}}}},"400":{"description":"Request failed validation (`validation_failed`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Missing or invalid API key (`unauthorized`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"The key lacks the required scope (`forbidden_scope`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Webhook not found (`not_found`).","headers":{"X-RateLimit-Limit":{"description":"Requests allowed per window for this key.","schema":{"type":"string"}},"X-RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"string"}},"X-RateLimit-Reset":{"description":"Unix time (seconds) when the window resets.","schema":{"type":"string"}},"X-Request-Id":{"description":"Identifier to quote when contacting support.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit exceeded (`rate_limited`); see `Retry-After`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Unexpected error (`internal`).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"A dependency is briefly unavailable (`internal`, `details.retryable` = true, e.g. `details.reason` = `storage_unavailable`); retry after `Retry-After`.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}}},"webhooks":{}}