> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.nativeport.ai/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.nativeport.ai/_mcp/server.

## Mistral Document AI — OCR and structured extraction, priced per page

<ChangelogTags>mistral</ChangelogTags>

`POST /mistral/v1/ocr` is live: PDFs and images in, per-page markdown out, and — on the same call — structured fields pulled out with a JSON schema you supply. The route is policed: a closed body policy runs before Mistral is called, `pages` is required because cost scales with the document, and the price of the selection is checked against your balance before the upstream call, so a job that does not fit answers `402` instead of being forwarded. Guide: [Mistral](/mistral).