v171

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-0726249111.7 MB
Router

Extracts text content while maintaining document structure and hierarchy

post/v2/router/ocr

Request body

modelstring required

ID of the model to use for OCR.

pagesinteger[] nullable

Specific pages to process. Can be a single number, range, or list. Starts from 0. Null for all pages.

Response

Represents an OCR response from the API.

modelstring required

ID of the model used for OCR.