202 Accepted and Background Jobs

Asynchronous Processing

Some operations take seconds or minutes: video processing, report generation, large imports, cloud provisioning, or data exports.

Instead of holding an HTTP connection open, the API can return 202 Accepted and create a job resource.

Example:

POST /exports → 202 Accepted

Location: /jobs/job_123

The client can then poll the job resource until it reaches a terminal state.

Asynchronous Job API