Skip to main content

Endpoint

Retrieve a list of extractions with flexible filtering, sorting, and pagination. Essential for polling review status and managing extraction history.

Authentication

string
required
API key for authentication. Your unique API key.

Query Parameters

Filters

string
Filter by specific document UUID. Most efficient for single-document queries.
string
Filter by extraction status.Options: completed, processing, failed, pending
boolean
Filter by review requirement.
boolean
Filter by review completion status.
string
Filter by exact filename match.
string
Filter by creation timestamp (ISO 8601 format).
string
Filter by creation timestamp (ISO 8601 format).
string
Filter by organization UUID. Admin-only parameter.

Sorting

string
default:"created_at"
Field to sort by.Options: created_at, updated_at, status, original_filename
string
default:"desc"
Sort direction.Options: asc (ascending), desc (descending)

Pagination

integer
default:"0"
Number of results to skip. Use for pagination.
integer
default:"100"
Maximum results to return. Range: 1-100.

Response

array
Array of extraction objects matching the query.
integer
Total number of extractions matching the filters (before pagination).
integer
Number of results skipped.
integer
Maximum results returned.

Extraction Object

string
Unique extraction ID (UUID).
string
UUID of the source document.
string
Name of the uploaded file.
string
Processing status: completed, processing, failed, pending.
string
ISO 8601 timestamp of extraction creation.
string
ISO 8601 timestamp of last update.
boolean
Whether extraction requires human review.
boolean
Whether extraction has been reviewed by a human.
string | null
ISO 8601 timestamp of review completion. null if not reviewed.
string | null
UUID of user who performed review. null if not reviewed.
object
Extracted data matching the schema.
object | null
Metadata returned by extraction processing. Batch extractions include batch_id here.
object | null
Corrected data after human review. null if not reviewed. Use this for automation if is_reviewed = true.
object
Confidence scores and review flags. Only present in Advanced/VLM extractions.

Examples

Poll for Review Completion

Check if a specific document has been reviewed:

List Pending Reviews

Get all extractions waiting for review:
cURL
Python

Filter by Date Range

Get extractions from last 24 hours:
Python

Pagination Example

Iterate through all extractions:
Python

Common Query Patterns

Pattern 1: Polling for Review

Pattern 2: List All Pending Reviews

Pattern 3: Get Completed Reviews

Pattern 4: Failed Extractions

Pattern 5: Organization-Wide Query (Admin)

Response Codes

200 OK

Successful query, returns paginated results.

400 Bad Request

Invalid query parameters:

403 Forbidden

Insufficient permissions:

500 Internal Server Error

Server-side error:

Best Practices

Filter by document_id when possible for fastest queries:
Handle large result sets with pagination:
For dashboard views, cache results briefly:
Choose limits based on use case:

Next Steps

Get Extraction Details

Retrieve complete extraction data by ID

Polling Pattern

Implement review polling for automation

Update Review

Submit reviewed extraction results