{"openapi":"3.1.0","info":{"title":"Fingerdance API","description":"Generate sign language video from text. Submit a job, check its status, and download the completed video. Usage is measured in delivered video milliseconds.","version":"1.0.0"},"paths":{"/v1/capabilities":{"get":{"tags":["generation"],"summary":"Capabilities","operationId":"capabilities_v1_capabilities_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"invalid_request: Correct the reported fields.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"unauthorized: Send a valid Bearer API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"permission_denied or organization_unavailable: Check the key's workspace and scopes.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"rate_limited: Wait for Retry-After before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"headers":{"Retry-After":{"schema":{"type":"integer"}}}},"500":{"description":"internal_error: Retain the request ID. For submissions, retry with the same key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"identity_unavailable: Retry after the identity provider recovers.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"BearerAuth":[]}]}},"/v1/jobs":{"post":{"tags":["generation"],"summary":"Create Job","operationId":"create_job_v1_jobs_post","parameters":[{"name":"idempotency-key","in":"header","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_.:-]{1,128}$"},"description":"Use a stable key when retrying the same request. Choose a new key for a new request."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobRequest"}}}},"responses":{"202":{"description":"New job accepted.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobResult"}}},"headers":{"Location":{"description":"Relative URL of the job.","schema":{"type":"string"}}}},"200":{"description":"Existing job for the same idempotency key and request.","headers":{"Location":{"description":"Relative URL of the job.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobResult"}}}},"422":{"description":"invalid_request: Correct the reported fields.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"unauthorized: Send a valid Bearer API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"permission_denied or organization_unavailable: Check the key's workspace and scopes.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"rate_limited or queue_limit: Wait for Retry-After and let pending jobs finish.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"headers":{"Retry-After":{"schema":{"type":"integer"}}}},"500":{"description":"internal_error: Retain the request ID. For submissions, retry with the same key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"identity_unavailable, maintenance, media_unavailable, trial_closing or trial_capacity_reached: Check service or trial status before retrying with the same key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"400":{"description":"invalid_idempotency_key: Supply a valid Idempotency-Key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"insufficient_credits: Add video credits or lower the maximum duration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"idempotency_conflict: Reuse the original input or choose a new key for new input.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"request_too_large: Reduce the request body.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"BearerAuth":[]}]},"get":{"tags":["generation"],"summary":"List Jobs","operationId":"list_jobs_v1_jobs_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":100,"minimum":1,"default":20,"title":"Limit"}},{"name":"before","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Before"}},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"enum":["queued","running","succeeded","failed","cancelled"],"type":"string"},{"type":"null"}],"title":"Status"}},{"name":"created_after","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}],"title":"Created After"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobList"}}}},"422":{"description":"invalid_request: Correct the reported fields.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"unauthorized: Send a valid Bearer API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"permission_denied or organization_unavailable: Check the key's workspace and scopes.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"rate_limited: Wait for Retry-After before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"headers":{"Retry-After":{"schema":{"type":"integer"}}}},"500":{"description":"internal_error: Retain the request ID. For submissions, retry with the same key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"identity_unavailable: Retry after the identity provider recovers.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"BearerAuth":[]}]}},"/v1/jobs/{source_job_id}/replay":{"post":{"tags":["generation"],"summary":"Replay Job","operationId":"replay_job_v1_jobs__source_job_id__replay_post","parameters":[{"name":"source_job_id","in":"path","required":true,"schema":{"type":"string","title":"Source Job Id"}},{"name":"idempotency-key","in":"header","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_.:-]{1,128}$"},"description":"Use a stable key when retrying the same request. Choose a new key for a new request."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobRequest"}}}},"responses":{"202":{"description":"New job accepted.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobResult"}}},"headers":{"Location":{"description":"Relative URL of the job.","schema":{"type":"string"}}}},"200":{"description":"Existing job for the same idempotency key and request.","headers":{"Location":{"description":"Relative URL of the job.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobResult"}}}},"422":{"description":"invalid_request: Correct the reported fields.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"unauthorized: Send a valid Bearer API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"permission_denied or organization_unavailable: Check the key's workspace and scopes.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"rate_limited or queue_limit: Wait for Retry-After and let pending jobs finish.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"headers":{"Retry-After":{"schema":{"type":"integer"}}}},"500":{"description":"internal_error: Retain the request ID. For submissions, retry with the same key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"identity_unavailable, maintenance, media_unavailable, trial_closing or trial_capacity_reached: Check service or trial status before retrying with the same key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"400":{"description":"invalid_idempotency_key: Supply a valid Idempotency-Key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"402":{"description":"insufficient_credits: Add video credits or lower the maximum duration.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"idempotency_conflict: Reuse the original input or choose a new key for new input. For feature_unavailable, replay_conflict or artifact_expired, submit a fresh job.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"not_found: The source job is unavailable in this workspace.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"request_too_large: Reduce the request body.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"BearerAuth":[]}]}},"/v1/jobs/{job_id}":{"get":{"tags":["generation"],"summary":"Get Job","operationId":"get_job_v1_jobs__job_id__get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobResult"}}}},"422":{"description":"invalid_request: Correct the reported fields.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"unauthorized: Send a valid Bearer API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"permission_denied or organization_unavailable: Check the key's workspace and scopes.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"rate_limited: Wait for Retry-After before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"headers":{"Retry-After":{"schema":{"type":"integer"}}}},"500":{"description":"internal_error: Retain the request ID. For submissions, retry with the same key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"identity_unavailable: Retry after the identity provider recovers.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"not_found: Check the resource ID and workspace.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"BearerAuth":[]}]}},"/v1/jobs/{job_id}/cancel":{"post":{"tags":["generation"],"summary":"Cancel Job","operationId":"cancel_job_v1_jobs__job_id__cancel_post","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JobResult"}}}},"422":{"description":"invalid_request: Correct the reported fields.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"unauthorized: Send a valid Bearer API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"permission_denied or organization_unavailable: Check the key's workspace and scopes.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"rate_limited: Wait for Retry-After before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"headers":{"Retry-After":{"schema":{"type":"integer"}}}},"500":{"description":"internal_error: Retain the request ID. For submissions, retry with the same key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"identity_unavailable: Retry after the identity provider recovers.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"not_found: Check the resource ID and workspace.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"request_too_large: Reduce the request body.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"BearerAuth":[]}]}},"/v1/jobs/{job_id}/events":{"get":{"tags":["generation"],"summary":"Events","operationId":"events_v1_jobs__job_id__events_get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}}],"responses":{"200":{"description":"Server-sent events. Each job event contains a JSON job snapshot. A heartbeat comment carries no data. A stream-error event has a code; after it or a disconnect, poll the job status.","content":{"text/event-stream":{"schema":{"type":"string"}}}},"422":{"description":"invalid_request: Correct the reported fields.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"unauthorized: Send a valid Bearer API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"permission_denied or organization_unavailable: Check the key's workspace and scopes.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"rate_limited: Wait for Retry-After before retrying. For stream_limit, also close unused streams.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"headers":{"Retry-After":{"schema":{"type":"integer"}}}},"500":{"description":"internal_error: Retain the request ID. For submissions, retry with the same key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"identity_unavailable: Retry after the identity provider recovers.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"not_found: Check the resource ID and workspace.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"BearerAuth":[]}]}},"/v1/jobs/{job_id}/stream":{"get":{"tags":["generation"],"summary":"Play a job while it renders","description":"The job's video from its first frame, sent as it is rendered (about 2.5 s after submission for a sentence) and continued into the final video once the job succeeds. Needs `jobs:read` and `artifacts:read`. A queued job answers 409 `stream_not_ready`: ask again after about 250 ms. The stream is a preview (`X-Preview-Only: true`): billing and delivery follow the job's status. Browsers use `format=fmp4` with Media Source Extensions (codec `avc1.64002a`, no audio track), through a route on your server that holds the API key.","operationId":"stream_v1_jobs__job_id__stream_get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}},{"name":"format","in":"query","required":false,"schema":{"type":"string","pattern":"^(ts|fmp4)$","description":"`fmp4`: fragmented MP4 for browsers (MSE), ffplay and VLC. `ts`: MPEG-TS.","default":"ts","title":"Format"},"description":"`fmp4`: fragmented MP4 for browsers (MSE), ffplay and VLC. `ts`: MPEG-TS."}],"responses":{"200":{"description":"The video as it is rendered, from its first frames to the end: MPEG-TS (format=ts, the default) or fragmented MP4 (format=fmp4: an init segment, then fragments of at most a quarter second, playable through Media Source Extensions in browsers and by ffplay or VLC). Starts while the job runs and continues into the final video once it succeeds. Check the job status for final delivery.","content":{"video/mp2t":{"schema":{"type":"string","format":"binary"}},"video/mp4":{"schema":{"type":"string","format":"binary"}}},"headers":{"X-Job-Status-Url":{"schema":{"type":"string"}},"X-Preview-Only":{"schema":{"type":"string","enum":["true"]}}}},"409":{"description":"stream_not_ready: Check job status and retry once streaming is available.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"410":{"description":"artifact_expired: Generate a new video.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"rate_limited: Wait for Retry-After before retrying. For stream_limit, also close unused streams.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"headers":{"Retry-After":{"schema":{"type":"integer"}}}},"422":{"description":"invalid_request: Correct the reported fields.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"unauthorized: Send a valid Bearer API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"permission_denied or organization_unavailable: Check the key's workspace and scopes.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"internal_error: Retain the request ID. For submissions, retry with the same key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"identity_unavailable: Retry after the identity provider recovers.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"not_found: Check the resource ID and workspace.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"BearerAuth":[]}]}},"/v1/artifacts/{artifact_id}":{"get":{"tags":["artifacts"],"summary":"Artifact Link","operationId":"artifact_link_v1_artifacts__artifact_id__get","parameters":[{"name":"artifact_id","in":"path","required":true,"schema":{"type":"string","title":"Artifact Id"}},{"name":"download","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Download"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"invalid_request: Correct the reported fields.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"unauthorized: Send a valid Bearer API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"permission_denied or organization_unavailable: Check the key's workspace and scopes.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"rate_limited: Wait for Retry-After before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"headers":{"Retry-After":{"schema":{"type":"integer"}}}},"500":{"description":"internal_error: Retain the request ID. For submissions, retry with the same key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"identity_unavailable: Retry after the identity provider recovers.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"410":{"description":"artifact_expired: Generate a new video.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"not_found: Check the resource ID and workspace.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"BearerAuth":[]}]}},"/v1/usage":{"get":{"tags":["billing"],"summary":"Usage","operationId":"usage_v1_usage_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"invalid_request: Correct the reported fields.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"unauthorized: Send a valid Bearer API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"permission_denied or organization_unavailable: Check the key's workspace and scopes.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"rate_limited: Wait for Retry-After before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"headers":{"Retry-After":{"schema":{"type":"integer"}}}},"500":{"description":"internal_error: Retain the request ID. For submissions, retry with the same key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"identity_unavailable: Retry after the identity provider recovers.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"BearerAuth":[]}]}},"/v1/billing/packages":{"get":{"tags":["billing"],"summary":"Packages","operationId":"packages_v1_billing_packages_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"invalid_request: Correct the reported fields.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"unauthorized: Send a valid Bearer API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"permission_denied or organization_unavailable: Check the key's workspace and scopes.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"rate_limited: Wait for Retry-After before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"headers":{"Retry-After":{"schema":{"type":"integer"}}}},"500":{"description":"internal_error: Retain the request ID. For submissions, retry with the same key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"identity_unavailable: Retry after the identity provider recovers.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"BearerAuth":[]}]}},"/v1/billing/checkout":{"post":{"tags":["billing"],"summary":"Checkout","operationId":"checkout_v1_billing_checkout_post","parameters":[{"name":"idempotency-key","in":"header","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_.:-]{1,128}$"},"description":"Use a stable key when retrying the same request. Choose a new key for a new request."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckoutRequest"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"invalid_request: Correct the reported fields.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"unauthorized: Send a valid Bearer API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"permission_denied or organization_unavailable: Check the key's workspace and scopes.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"rate_limited: Wait for Retry-After before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"headers":{"Retry-After":{"schema":{"type":"integer"}}}},"500":{"description":"internal_error: Retain the request ID. For submissions, retry with the same key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"trial_checkout_closing or maintenance: Review trial availability. For payment_unavailable, retry with the same key when the provider recovers.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"400":{"description":"invalid_idempotency_key or unknown_package: Check the key and current catalog.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"409":{"description":"idempotency_conflict, checkout_closed or checkout_conflict: Review the order in Billing.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"request_too_large: Reduce the request body.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"BearerAuth":[]}]}},"/v1/webhooks":{"post":{"tags":["webhooks"],"summary":"Create Webhook","operationId":"create_webhook_v1_webhooks_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookRequest"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"invalid_request: Correct the reported fields.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"unauthorized: Send a valid Bearer API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"permission_denied or organization_unavailable: Check the key's workspace and scopes.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"rate_limited: Wait for Retry-After before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"headers":{"Retry-After":{"schema":{"type":"integer"}}}},"500":{"description":"internal_error: Retain the request ID. For submissions, retry with the same key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"identity_unavailable: Retry after the identity provider recovers.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"400":{"description":"Check the HTTPS URL and the number of active endpoints.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"request_too_large: Reduce the request body.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"BearerAuth":[]}]},"get":{"tags":["webhooks"],"summary":"Webhooks","operationId":"webhooks_v1_webhooks_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"invalid_request: Correct the reported fields.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"unauthorized: Send a valid Bearer API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"permission_denied or organization_unavailable: Check the key's workspace and scopes.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"rate_limited: Wait for Retry-After before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"headers":{"Retry-After":{"schema":{"type":"integer"}}}},"500":{"description":"internal_error: Retain the request ID. For submissions, retry with the same key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"identity_unavailable: Retry after the identity provider recovers.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"BearerAuth":[]}]}},"/v1/webhooks/{endpoint_id}":{"delete":{"tags":["webhooks"],"summary":"Delete Webhook","operationId":"delete_webhook_v1_webhooks__endpoint_id__delete","parameters":[{"name":"endpoint_id","in":"path","required":true,"schema":{"type":"string","title":"Endpoint Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"invalid_request: Correct the reported fields.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"unauthorized: Send a valid Bearer API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"permission_denied or organization_unavailable: Check the key's workspace and scopes.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"rate_limited: Wait for Retry-After before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"headers":{"Retry-After":{"schema":{"type":"integer"}}}},"500":{"description":"internal_error: Retain the request ID. For submissions, retry with the same key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"identity_unavailable: Retry after the identity provider recovers.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"not_found: Check the resource ID and workspace.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"BearerAuth":[]}]}},"/v1/webhooks/{endpoint_id}/deliveries":{"get":{"tags":["webhooks"],"summary":"Deliveries","operationId":"deliveries_v1_webhooks__endpoint_id__deliveries_get","parameters":[{"name":"endpoint_id","in":"path","required":true,"schema":{"type":"string","title":"Endpoint Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"invalid_request: Correct the reported fields.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"unauthorized: Send a valid Bearer API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"permission_denied or organization_unavailable: Check the key's workspace and scopes.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"rate_limited: Wait for Retry-After before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"headers":{"Retry-After":{"schema":{"type":"integer"}}}},"500":{"description":"internal_error: Retain the request ID. For submissions, retry with the same key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"identity_unavailable: Retry after the identity provider recovers.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"not_found: Check the resource ID and workspace.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"BearerAuth":[]}]}},"/v1/webhooks/{endpoint_id}/test":{"post":{"tags":["webhooks"],"summary":"Test Webhook","operationId":"test_webhook_v1_webhooks__endpoint_id__test_post","parameters":[{"name":"endpoint_id","in":"path","required":true,"schema":{"type":"string","title":"Endpoint Id"}}],"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"invalid_request: Correct the reported fields.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"unauthorized: Send a valid Bearer API key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"403":{"description":"permission_denied or organization_unavailable: Check the key's workspace and scopes.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"rate_limited: Wait for Retry-After before retrying.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"headers":{"Retry-After":{"schema":{"type":"integer"}}}},"500":{"description":"internal_error: Retain the request ID. For submissions, retry with the same key.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"identity_unavailable: Retry after the identity provider recovers.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"not_found: Check the resource ID and workspace.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"413":{"description":"request_too_large: Reduce the request body.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"BearerAuth":[]}]}}},"components":{"schemas":{"ArtifactResult":{"properties":{"id":{"type":"string","title":"Id"},"kind":{"type":"string","title":"Kind"},"content_type":{"type":"string","title":"Content Type"},"sha256":{"type":"string","title":"Sha256"},"size_bytes":{"type":"integer","title":"Size Bytes"},"duration_ms":{"type":"integer","title":"Duration Ms"},"expires_at":{"type":"number","title":"Expires At"}},"type":"object","required":["id","kind","content_type","sha256","size_bytes","duration_ms","expires_at"],"title":"ArtifactResult"},"CheckoutRequest":{"properties":{"package_id":{"type":"string","maxLength":80,"minLength":1,"title":"Package Id"}},"additionalProperties":false,"type":"object","required":["package_id"],"title":"CheckoutRequest"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"JobList":{"properties":{"data":{"items":{"$ref":"#/components/schemas/JobResult"},"type":"array","title":"Data"},"next_cursor":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Next Cursor"}},"type":"object","required":["data","next_cursor"],"title":"JobList"},"JobRequest":{"properties":{"avatar":{"type":"integer","maximum":3.0,"minimum":0.0,"title":"Avatar","default":1},"sign_language":{"type":"string","enum":["aslue","arslue","uaesl"],"title":"Sign Language","default":"aslue"},"quality":{"type":"string","enum":["fast","strict"],"title":"Quality","default":"fast"},"resolution":{"type":"string","enum":["960x540","1280x720","1920x1080"],"title":"Resolution","default":"1280x720"},"fps":{"type":"integer","enum":[24,30,60],"title":"Fps","default":30},"subtitles":{"type":"boolean","title":"Subtitles","default":true},"background_color":{"type":"string","title":"Background Color","default":"#808080"},"playback_speed":{"type":"string","enum":["0.5","0.75","1","1.25","1.5","2"],"title":"Playback Speed","default":"1"},"max_duration_seconds":{"anyOf":[{"type":"integer","maximum":600.0,"minimum":1.0},{"type":"null"}],"title":"Max Duration Seconds"},"text":{"type":"string","maxLength":4096,"minLength":1,"title":"Text"}},"additionalProperties":false,"type":"object","required":["text"],"title":"JobRequest"},"JobResult":{"properties":{"id":{"type":"string","title":"Id"},"status":{"type":"string","enum":["queued","running","succeeded","failed","cancelled"],"title":"Status"},"pipeline_version":{"type":"string","title":"Pipeline Version"},"attempts":{"type":"integer","title":"Attempts"},"cancel_requested":{"type":"boolean","title":"Cancel Requested"},"reserved_ms":{"type":"integer","title":"Reserved Ms"},"billed_ms":{"type":"integer","title":"Billed Ms"},"error_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error Code"},"created_at":{"type":"number","title":"Created At"},"updated_at":{"type":"number","title":"Updated At"},"completed_at":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Completed At"},"artifacts":{"items":{"$ref":"#/components/schemas/ArtifactResult"},"type":"array","title":"Artifacts"},"settings":{"anyOf":[{"$ref":"#/components/schemas/JobSettings"},{"type":"null"}]}},"type":"object","required":["id","status","pipeline_version","attempts","cancel_requested","reserved_ms","billed_ms","error_code","created_at","updated_at","completed_at","artifacts","settings"],"title":"JobResult"},"JobSettings":{"properties":{"avatar":{"type":"integer","maximum":3.0,"minimum":0.0,"title":"Avatar","default":1},"sign_language":{"type":"string","enum":["aslue","arslue","uaesl"],"title":"Sign Language","default":"aslue"},"quality":{"type":"string","enum":["fast","strict"],"title":"Quality","default":"fast"},"resolution":{"type":"string","enum":["960x540","1280x720","1920x1080"],"title":"Resolution","default":"1280x720"},"fps":{"type":"integer","enum":[24,30,60],"title":"Fps","default":30},"subtitles":{"type":"boolean","title":"Subtitles","default":true},"background_color":{"type":"string","title":"Background Color","default":"#808080"},"playback_speed":{"type":"string","enum":["0.5","0.75","1","1.25","1.5","2"],"title":"Playback Speed","default":"1"},"max_duration_seconds":{"anyOf":[{"type":"integer","maximum":600.0,"minimum":1.0},{"type":"null"}],"title":"Max Duration Seconds"}},"additionalProperties":false,"type":"object","title":"JobSettings"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"WebhookRequest":{"properties":{"url":{"type":"string","maxLength":2048,"minLength":8,"title":"Url"}},"additionalProperties":false,"type":"object","required":["url"],"title":"WebhookRequest"},"ErrorResponse":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message","request_id"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"request_id":{"type":"string"},"fields":{"type":"array","description":"Field errors returned with invalid_request.","items":{"type":"object","required":["location","message"],"properties":{"location":{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"integer"}]}},"message":{"type":"string"}}}}}}}}},"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","description":"Fingerdance API key"}}}}