/extract
Upload Document
Upload a document for structured extraction.
Uploads a PDF document that can be used for structured data extraction. Only PDF files are supported.
Supported File Types:
- PDF files only (
.pdfextension) - Maximum file size: 50MB (recommended)
- Documents are processed and validated upon upload
Document Processing:
- File size and page count are automatically calculated
- Document is validated for PDF format and readability
- Metadata is extracted and stored for future reference
- Document is stored securely and can be referenced by ID
Usage:
After uploading, you’ll receive a document_id that can be used with:
POST /jobsendpoint to start extraction jobsGET /documents/{document_id}to retrieve document informationDELETE /documents/{document_id}to remove the document
Example Response:
POST
Upload Document
Authorizations
Response
Successful Response
Response model for document upload.