Retrieve a paginated list of documents with optional filtering. Uses cursor-based pagination for efficient data retrieval.
Pagination:
page[size] to control results per page (default: 15, max: 100)page[after] or page[before] cursors from the responsepage[total]=true to include total count (may impact performance on large datasets)links for easy navigation (first, prev, next, last)Filtering:
status to get documents in a specific processing state or multiple states (comma-separated)template_id to get documents using a specific templateExample Queries:
GET /v1/documents?page[size]=20&filter[status]=processed&page[after]=eyJ2YWx1ZXM...GET /v1/documents?page[size]=20&filter[status]=pending,submitted,processing,processed,failed,redactedNumber of items per page (default: 15)
"15"
Cursor for fetching items after this point
"eyJ2YWx1ZXMiOnsiY3JlYXRlZF9hdCI6IjIwMjUtMTAtMjJUMjI6MTM6NDguMTQ5WiJ9LCJpZCI6IjNkZjk3MWQwLWNkNTYtNDAwNi05YmM0LTFjYmMzMjc1OWI2ZiJ9"
Cursor for fetching items before this point
"eyJ2YWx1ZXMiOnsiY3JlYXRlZF9hdCI6IjIwMjUtMTAtMjJUMjI6MTM6NDguMTQ5WiJ9LCJpZCI6IjNkZjk3MWQwLWNkNTYtNDAwNi05YmM0LTFjYmMzMjc1OWI2ZiJ9"
Include total count in response (may impact performance)
true, false "true"
Filter documents by status. Supports single value or comma-separated values (e.g., "pending,submitted,processing,processed,failed,redacted")
"pending,submitted,processing,processed,failed,redacted"
Filter documents by template ID
"123e4567-e89b-12d3-a456-426614174000"