Get Document Page

Return one document page's OCR text in reading order and, optionally, its layout regions. Addressed by the `document_id` returned by [List Documents](/reference/v3/documents) and [Query](/reference/v3/query), plus a `page_number`. **Only works for documents with OCR data** (PDFs and similar). For other file types, use [Get Document](/reference/v3/document) or [Get Chunk](/reference/v3/documents/chunk) instead.

Path parameters

collection_namestringRequired
document_idstringRequired
page_numberintegerRequired>=0

Query parameters

include_regionsbooleanOptionalDefaults to false

Response

Get Document Page response.
collection_namestring
document_idstring
pageinteger
The requested page number, echoed back.
textstring

The page’s full text in reading order. Empty string when the page exists but has no extractable text (see warnings).

page_countinteger or nullOptional

Best-effort total page count, derived from the document’s OCR data. Null when it cannot be determined.

text_sourceenumOptionalDefaults to ocr

Where text came from. Always ocr today; a future value would mean reconstructed text, not primary-source OCR.

regionslist of objects or nullOptional

Layout regions on this page when include_regions is true. Regions of type figure, chart, or image carry a presigned image_url.

warningslist of objectsOptional

Non-fatal conditions on this response, such as document_indexing (content may be incomplete) or page_empty (page exists, no extractable text).

Errors

404
Not Found Error
© 2026 Captain