For the complete documentation index, see llms.txt. This page is also available as Markdown.

Job

A job is the async execution behind a resource. There is one status vocabulary across the whole API, so you write the wait logic once.

The status enum

StatusTerminal?Meaning
queuednoAccepted, not started
runningnoIn progress
succeededyesResults available on the resource
failedyesSee error on the resource; do not blind-retry
canceledyesYou called /cancel

Which resources are async

Search, Extraction, TopicSearch, and Document parsing. Everything else is synchronous.

Three ways to wait

  1. Poll the resource. Back off; do not poll faster than once a second.

  2. Webhook — subscribe to *.completed and *.failed. See webhook.

  3. SDK .wait() — handles backoff and timeout for you.

This endpoint is asynchronous

Reuse this callout verbatim on every async endpoint page, linking here.

jobs · webhook · errors-and-retries

Last updated