Mistral AIMistral AI API
POST/v1/ocr
Manage ocr V1 Ocr Post.
Contract-preserving POST Endpoint for ocr V1 Ocr Post in the Mistral AI API. Model and resource-specific values are supplied by the caller at runtime.
All 238 ApiKey-authenticated Mistral AI Platform REST endpoints from a fixed Apache-2.0-licensed official revision, including typed SSE streaming and Workflows. Hub provides documentation and an independent SDK/CLI, but never proxies model, account, or usage data; callers connect directly with local API keys.
Request
- operationId
ocrV1OcrPost- Server
https://api.mistral.ai- Authentication
- ApiKey
Request parameters
No URL, query, or header parameters.
Request body
OCRRequestrequired
Content-Type: application/json
Properties: bbox_annotation_formatconfidence_scores_granularitydocumentdocument_annotation_formatdocument_annotation_promptextract_footerextract_headerimage_limitimage_min_sizeinclude_blocksinclude_image_base64modelpagestable_format
Responses
200
OCRResponseapplication/json
Successful supplier response.
Properties: document_annotationmodelpagesusage_info
422
HTTPValidationErrorapplication/json
Supplier response with HTTP status 422.
Properties: detail
{
"pages": {
"hyperlinks": [],
"images": {},
"index": 0
},
"usage_info": {
"pages_processed": 0
}
}