OCR
Process document with OCR
Submit a document for OCR processing to extract text, detect tables, forms, and other features. Supports PDFs, images, and scanned documents. Returns a job ID that can be used to track processing status.
post/ocr/v1/process
Request body
Example request
{
"document_url": "https://example.com/contract.pdf",
"document_id": "contract-2024-001",
"callback_url": "https://your-app.com/webhooks/ocr-complete",
"engine": "doctr",
"features": {
"embed": {},
"tables": {
"format": "csv"
}
},
"result_bucket": "my-ocr-results",
"result_prefix": "ocr/2024/"
}Response
OCR job created successfully