Skip to navigation

Get Job Results

View as Markdown

Returns the output of a finished job. Results are never available while a job is running; requesting them before a terminal status returns 409 RESULTS_NOT_READY.

The response shape depends on type:

  • digitise (Parse): job_id, type, status, usage and documents. Each document lists its pages, and each page lists text blocks with a layout tag, reading order and bounding boxes.
  • extract: job_id, type, status, usage, result, annotations, source_map, version and documents. annotations mirrors result; every field has a confidence and its sources.
  • classify: one decision for the whole document in result.
  • split: the child documents in result.segments.

Split and Classify results are JSON only. Use the format parameter to get a Parse ZIP or an Extract CSV or XLSX file.

Authentication

api-subscription-keystring
API Key authentication via header

Path parameters

job_idstringRequired
The unique identifier of the job.

Query parameters

formatenumOptionalDefaults to json

Output format of the results. If you omit format, the results are returned as structured json: for Parse, the text blocks with layout and bounding boxes; for Extract, the extracted fields with confidence and sources. Use md, html, or zip on a Parse job to get the output ZIP (md and html must match the job’s output_format). Use csv or xlsx on an Extract job submitted with that output_format to get the file itself. Split and Classify results are JSON only.

Allowed values:
includeenumOptional

Set to details for Classify and Split jobs to add inspected pages, provenance and boundary details; other job types ignore it, and any other value returns 422. Supporting evidence on a Classify job does not need include=details; send output.include_evidence as true in the request instead (Split does not accept output).

Allowed values:

Response

OK
extractobject

Job results for the extract pipeline.

OR
digitiseobject

Job results for a Parse job. Parse jobs report type: digitise.

OR
classifyobject

Job results for the classify pipeline.

OR
splitobject

Job results for the split pipeline.

Errors

400
Bad Request Error
401
Unauthorized Error
404
Not Found Error
409
Conflict Error
422
Unprocessable Entity Error