Endpoint
Authentication
API key for authentication. Your unique API key.
Request Parameters
One or more document files to upload.Extraction-compatible formats:
application/pdf(.pdf)image/jpeg(.jpg, .jpeg)image/png(.png)image/tiff(.tiff)image/bmp(.bmp)
Response
Array of UUID v4 document identifiers. Use these IDs for extraction requests.
Examples
File Size & Limits
The backend does not enforce a documented per-file or per-request count limit in application code. Infrastructure may still reject oversized requests before they reach the backend. For larger batches, split files into multiple upload requests and retry failed requests.
Storage Duration
No public retention SLA is exposed by the backend. Keep your own source documents if you need long-term archival.Processing Time
The API returns document IDs after the files are stored. OCR, layout analysis, and model processing happen later during schema generation or extraction; the backend does not expose a public upload timing SLA.Error Responses
400 Bad Request
Malformed multipart request:- Missing
filesform field - Invalid multipart body
- Corrupt upload stream
413 Payload Too Large
Request exceeds size limits:500 Internal Server Error
Server-side processing error:Best Practices
Batch Upload for Efficiency
Batch Upload for Efficiency
Upload multiple documents in a single request to reduce API calls:
Handle File Handles Properly
Handle File Handles Properly
Always close file handles after upload:
Validate Files Before Upload
Validate Files Before Upload
Check file format before uploading:
Store Document IDs
Store Document IDs
Map document IDs to original filenames for tracking:
Next Steps
After uploading documents, you can:Generate Schema
Auto-generate extraction schema from a sample document
Extract Data
Extract structured data using a schema
List Documents
View documents with extraction records