List retained documents, optionally matching external identifiers exactly. Filters apply before pagination; both identifiers must match when supplied together. Identifiers are not unique. API keys require results:read; Search access is not required.
BearerAuthorizationBearer <token>Send your API key in the Authorization header: Bearer <api_key>.
page_start?numberOne-based first item position.
1page_limit?numberMaximum item count.
25external_id?stringMatch this external document identifier exactly after trimming surrounding whitespace. Case-sensitive; combined with other filters using AND.
1 <= length <= 255external_group_id?stringMatch this external group identifier exactly after trimming surrounding whitespace. Case-sensitive; combined with other filters using AND.
1 <= length <= 255order?string"newest""newest""active"categories?|array<string>Match any selected category on the current classification, ignoring case. Repeat categories for multiple names; omit to apply no category filter.
Tenant Documents listed
application/json- response
documents*array<>categories*array<string>Categories assigned across retained Documents, deduplicated ignoring case with original spelling preserved. Independent of this page and filter.
pagination*{ "documents": [ { "status": "waiting_for_upload", "progress": { "pages_total": 0, "pages_completed": 0 }, "detail": { "code": "string", "message": "string", "stage": "upload", "required_pages": 1 }, "completed_at": "2019-08-24T14:15:22Z", "id": "string", "filename": "string", "confidence_score": 0, "webhook": { "status": "pending" }, "classification": { "id": "string", "status": "pending", "categories": [ "string" ] }, "thumbnail": { "url": "http://example.com", "expires_at": "2019-08-24T14:15:22Z" }, "created_at": "2019-08-24T14:15:22Z" } ], "categories": [ "string" ], "pagination": { "page_start": 1, "page_limit": 1, "next_start": 1 }}Get a job result
Read the finalized document and an ordered page of Markdown results. Use pagination.next_start as the next page_start until it is null. Unavailable page content has null Markdown and a warning. API keys require the results:read scope.
Get document details
Read retained document metadata, processing status, progress, original download access, and webhook delivery. API keys require the results:read scope.