/extract

Get the status of an extraction job.

For running jobs with a Temporal workflow, returns accumulated results and failed subtrees from workflow queries. For completed/failed jobs or jobs without workflow, these fields are empty.

get/extract/jobs/{job_id}

Request

  • Base URL
    https://api.contextual.ai/v1
  • URL
    https://api.contextual.ai/v1/extract/jobs/{job_id}
  • Auth
    HTTP bearer

Path parameters

job_idstring required

Response

Successful Response

job_idstring required

Unique ID of the extraction job

status'pending' | 'processing' | 'retrying' | 'completed' | 'failed' | 'cancelled' required
created_atstring required

Timestamp when the job was created

current_activitystring required

Current activity being performed

schema_idstring required

ID of the schema used for the extraction

document_idstring required

ID of the document used for the extraction

Example response

{
  "config": {
    "model": "gemini-2.5-flash",
    "enable_thinking": true
  }
}

Changes