Skip to main content

Check asynchronous job status

Read an asynchronous job by its ID. This endpoint returns the AsyncJob resource and indicates whether the job is still running or has finished. Bulk export requests use the separate bulk export status endpoint to retrieve their output manifest.

MethodPath
GET/fhir/R4/job/:id/status

Request​

curl --include \
--url "https://api.sandbox.ovok.com/fhir/R4/job/${JOB_ID}/status" \
--header "Authorization: Bearer ${OVOK_TOKEN}"
Path valueDescription
:idID of the AsyncJob resource returned by the asynchronous operation.

Response​

The body is a FHIR AsyncJob resource. The HTTP status distinguishes an unfinished job from a completed or failed one.

HTTP statusJob statusMeaning
202 Acceptedaccepted or activeJob is queued or running. Poll this URL again.
200 OKcompletedJob finished successfully.
200 OKerrorJob finished with an error; inspect the resource's error/output details.
AsyncJob fieldDescription
idJob identifier.
requestOriginal request or operation URL.
statusCurrent lifecycle status.
requestTimeTime the job was created.
outputJob result when available.

The route may return an authorization or not-found error if the job is not visible to the caller.