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 and Query, plus a page_number.
Only works for documents with OCR data (PDFs and similar). For other file types, use Get Document or Get Chunk instead.
Path parameters
Query parameters
Response
The page’s full text in reading order. Empty string when the page exists but has no extractable text (see warnings).
Best-effort total page count, derived from the document’s OCR data. Null when it cannot be determined.
Where text came from. Always ocr today; a future value would mean reconstructed text, not primary-source OCR.
Layout regions on this page when include_regions is true. Regions of type figure, chart, or image carry a presigned image_url.
Non-fatal conditions on this response, such as document_indexing (content may be incomplete) or page_empty (page exists, no extractable text).