Skip to Content

Read results

A result contains the document's recovered content in page order, with confidence scores and warnings. Read it in the portal or use it in your application.

Understand the response

The SDK quickstart shows an example JSON response. Its fields are:

FieldWhat it contains
documentDocument ID, filename, page count, content status, and overall confidence
pagesEach page's number, Markdown, confidence, and warnings
jobProcessing job ID and final status
classificationCurrent classification, when one exists; it can still be pending or processing
warningsWarnings that apply to the result

The content uses Markdown for headings, prose and lists, and HTML for tables, including merged cells. Tables that continue across pages remain separate. Save document.id to retrieve or search the document again.

Review in the portal

Open a document from Documents or Playground. Extracted content opens as formatted content beside the source. Select Raw to see the original content: Markdown prose with HTML tables.

Use the page controls to navigate. On smaller screens, switch between Image and Content. The copy control copies the current page's content; Download original retrieves the uploaded file.

Classification results

Classification applies your categories to recovered content. A document can match more than one category. The result includes its current classification, which may still be in progress.

Understand classification results explains tags, no matches, failures, and which pages were evaluated. Workspace defaults apply saved criteria to future uploads.

Retrieve content later

Using the result from the quickstart:

const saved = await client.documents.result(result.document.id)
const page = await client.documents.page(result.document.id, 1)

documents.result returns all pages. documents.page returns one page and temporary access to its source image. If you saved a job ID, use jobs.result(jobId) to retrieve the same document result.

documents.get reads metadata and status without collecting pages. To follow a classification, repeat a classification status read until it completes or fails. A saved response does not update automatically; read again for a later result.

Read methods do not wait for processing. For background work, check job status first. The SDK reference covers page ranges and exact return fields.

Find documents using your own IDs

If you supplied an external ID when uploading, you can use it to find the document later:

const matches = await client.documents.list({ filters: { externalId: "statement-2026-09" } })

Each item in matches.documents has an id you can pass to documents.result or documents.page once its content is ready. More than one document can match the same external ID.

Use filters.externalGroupId to find related documents, such as all files for account-42. IDs must match exactly, including case, after trimming surrounding whitespace. See documents.list for filters and how to read further pages of matches.

For direct HTTP requests, use GET /v1/documents?external_id=statement-2026-09. The List documents API reference describes all query parameters.

Missing content and warnings

Page markdownMeaning
Nonempty stringRecovered content
""The page was processed successfully, with no text found
nullContent recovery failed; check the page's warnings

Keep the distinction between blank and failed pages in your application. content_status summarizes the document as available, partially_available, or unavailable. A failed job can still have a result worth inspecting.

Confidence scores range from 0 to 100 and help identify pages to review. They are estimates, not guarantees of accuracy. Compare important details with the source image.

On this page