Skip to main content
GET
/
extract
/
jobs
/
{job_id}
/
results
Get Job Results
curl --request GET \
  --url https://api.contextual.ai/v1/extract/jobs/{job_id}/results \
  --header 'Authorization: Bearer <token>'
{
  "job_id": "<string>",
  "status": "pending",
  "results": {},
  "metadata": {},
  "config": {
    "model": "gemini-2.5-flash",
    "per_key_attribution": false,
    "temperature": 0,
    "enable_thinking": true,
    "additional_instructions": "<string>",
    "enable_agentic_array_extraction": false
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

job_id
string
required

Response

Successful Response

Response model for job results.

The results field contains extracted data conforming to the provided JSON Schema. When per_key_attribution is enabled in ExtractConfig, primitive fields in results will be wrapped with AttributionInfo structures containing the extracted_value along with reasoning, confidence, and page location metadata.

job_id
string
required

Unique ID of the extraction job

status
enum<string>
required

Current status of the job

Available options:
pending,
processing,
retrying,
completed,
failed,
cancelled
results
Results · object
required

Extracted results conforming to the provided JSON Schema. When per_key_attribution is enabled, primitive values are wrapped with AttributionInfo containing extracted_value, reasoning, confidence, and location fields.

metadata
Metadata · object
required

Metadata about the extraction process. May include has_attributions boolean flag indicating if attribution data is present in results.

config
ExtractConfig · object

Configuration used for the extraction job (model, temperature, etc.)