Authentication
All endpoints require:x-api-keyx-organization-id
Recommended Upload Flow
Upload Files
Request presigned URLs, upload bytes directly to S3, then confirm the upload to trigger classification.
List File Readings
Retrieve extracted file readings after the async classification and processing steps complete.
Core Endpoints
Status Lifecycle
folder_idis optional on upload requests. Omit it to upload at the root level.project_idis optional onPATCH /v1/files/batch-update. When present, the backend createsfile_projectlinks.POST /v1/files/uploadis still available, but the presigned flow is recommended for automation and large-file friendly clients.POST /v1/files/send-eventcan be used to manually retry downstream processing when a classified file has not produced afile_readingyet.- Once processing finishes, clients can use
GET /v1/files/readings, optionally edit extracted values withPUT /v1/files/readings/{file_reading_id}, and then create linked invoices or wastes withPOST /v1/files/readings. POST /v1/files/readingstakes every reading of one file. Today a file has one reading, so that is one item.- Files and readings list their classifications in
classifications(id,document_type,category,confidence_level,custom_labeland areadingreference), next to thetagsthey always had. Every file has one classification today; the list is the groundwork for documents that bill several services, and no endpoint creates a second classification yet.
Related Documentation
MCP Tools
Access file data from AI assistants via MCP
Invoices API
Manage invoices created from file readings