The job pipeline and storage

Jobs, credit reservation, progress events, signed downloads and retention.

Updated 2026-12-01

Everything is a job

Any generation or processing task is a job with one model. Clients start a job, watch its progress and may leave and return. Live

Lifecycle

StateMeaning
queuedAccepted, credits reserved, waiting for a worker.
runningA worker holds the job and publishes stages.
succeededOutput stored; credits captured.
failedCredits released and the reason is recorded.
cancelledReleased on request.

Credits are reserved when the job is created, captured on success and released on failure or cancellation. Live A job-creating call that carries an idempotency key can be retried safely without creating a second job.

Progress

Job events are available over Server-Sent Events and over WebSocket, and a client that reconnects can resume from the last event. Live Webhooks are described in Webhooks.

Storage

Uploads and outputs live in object storage. Uploads are direct to storage through signed multipart URLs, and downloads are issued as short-lived signed links, so large files never pass through the API servers. In development

Retention

Retention is set per asset class and is administrator-configurable. By default, source uploads are removed after 24 hours and temporary assets after 7 days, by a scheduled sweep. Live Payment records are retained as the law requires. See the data retention schedule.

See the request flow on the Architecture page.

Statements and their status

Each labelled statement in this article, with what it rests on.

  • Live Long work runs as background jobs with status, events and cancel endpoints. Evidence: a live endpoint, checked 2026-12-01.
  • Live When a job fails or is cancelled, the credits reserved for it are released. Evidence: a production metric, checked 2026-12-01.
  • In development Uploads go direct to object storage through signed multipart URLs and downloads are short-lived signed links (endpoints deployed; the object store itself is currently on its local-disk fallback). Evidence: a live endpoint, checked 2026-12-01.
  • Live A data retention policy is published. Evidence: a live endpoint, checked 2026-12-01.

Back to the Knowledge Centre