This section provides the API endpoints and data structures for retrieving information about your Imports, Files, and Documents. For real-time updates on processing status, use webhooks instead of polling these endpoints.
When to use these APIs:
Retrieve information about your import operations using our REST API.
List Imports: GET /v1/ingest/imports/
Get Import: GET /v1/ingest/imports/{id}
Notes:
documents field provides a total count of all documents extracted across all fileschannel field indicates how the import was created (API, web upload, or email)files array follows the File structure documented belowcompressed: true and typically have an empty documentIds arrayparentFileId referencing the original compressed fileclientData contains custom metadata provided during upload (empty object if none)error field containing the error code for programmatic handlingFor Import state definitions and transition logic, see Import Processing.
Access file processing information and status updates.
Notes:
documentIds (following naming convention: array of IDs uses singular + “Ids” suffix)mimeType field indicates the file format (required field)compressed: true and empty documentIds arrayparentFileId field referencing the original compressed fileerror field containing the error code for programmatic handlingid field as primary identifier (not _id)clientData contains custom metadata provided during upload (empty object if none)For File state definitions and transition logic, see File Processing.
Document processing can introduce latency when retrieving information by Document ID. Use webhooks for real-time updates.
List Documents: GET /v1/documents/
Get Document: GET /v1/documents/{id}
Full document structure is available in the API reference documentation.
For Document state definitions and transition logic, see Document Processing.
The API returns standard HTTP status codes:
Error responses include detailed information to help with debugging and resolution.
Not recommended in production environments. Use webhooks for real-time updates instead.
When webhooks are not available, use these polling patterns: