Supported file types
FlexOrch accepts the following formats:
Image files and scanned PDFs are processed with OCR automatically. Scanned pages are also automatically deskewed (rotation and small-angle tilt correction) before OCR runs.
CSV files are not supported for upload — use XLSX for tabular data.
.docx),
it’s automatically routed to the correct parser when the real type is
supported, or rejected with EXTENSION_MISMATCH when it isn’t. See
Common error codes.
Single file upload
Multi-file upload
Send multiple files in a single request:job_id. The response includes all IDs:
Upload from a connector (S3 / GCS / Azure)
If you have a connector configured, you can process files directly from cloud storage without downloading them first:File size limits
The maximum file size is 5 MB per file, the same across all plans. Files exceeding the limit return400 FILE_TOO_LARGE.
Encrypted PDFs are rejected with ENCRYPTED_PDF — remove the password before uploading. Very long documents are also capped independently of file size, since a small file can still be complex enough to slow down processing: PDFs over 300 pages return PDF_TOO_MANY_PAGES, and XLSX sheets over 50,000 rows return XLSX_TOO_MANY_ROWS. Split the file and upload the parts separately if you hit either limit.
Duplicate detection
FlexOrch automatically detects duplicate documents (using a content hash). If you upload a file that was already processed:- No new credit is consumed
- The existing job and execution IDs are returned
- Processing is skipped
Polling for results
After upload, poll the job endpoint untilstatus is completed or failed:
job.wait_until_done().