Skip to main content
Poll a job to check when background work is complete. A 202 response accepts the request; it does not contain the finished result. Notes and document content stream by default. Use jobs for ?stream=false and the other background operations below.

Which ID should you poll?

Keep the session/document IDs from the initiating response. The generic job endpoint does not return note contents.

Poll a job

GET /jobs/{job_id} requires scribe:read and the same grant that started the job.
Example response:
job_type describes the operation; use status to decide what to do next. Start with a polling interval of about two seconds and increase it for longer jobs. Honor Retry-After on 429; polling shares your application’s rate limit. Keep the job ID if the clinician leaves the page.

Handle reused output

A generation response can return ready documents without creating new work. When status is succeeded and job_id is null, retrieve the supplied document IDs rather than calling /jobs/null.

Retry a request

If the initial request loses its response, resend the same request with the same idempotency key. This recovers its original receipt. Poll the existing job after you have the receipt. Once a job reports failure, replaying the original key is not a new generation request. Resolve the failure and use a new operation/key when intentionally requesting new work. For an existing document, use its content-generation endpoint. The public API does not expose completion webhooks, a generic job cancellation endpoint, or a job retry endpoint.