Skip to main content
GET
Get Job
Returns the status and (if completed) result of an async job. Use this endpoint to poll jobs created by passing ?async=true to /generate/image or /render.

Authentication

string
Bearer token. Bearer <api-key-or-jwt>.

Path Parameters

string
required
The job ID returned by the ?async=true endpoint.

Lifecycle

Jobs progress through these states:
  • pending — queued, not yet picked up by a consumer
  • processing — actively generating
  • completed — finished, result is populated
  • failed — something went wrong, error is populated
Polling: client-side code typically polls every 1–2 seconds until status is completed or failed.