Returns a paginated list of documents that the user has uploaded or that have been shared with their organization. Use the query parameters documented below for filtering. Use the returned document id with Get document, Get annotated document, or Get original document to retrieve metadata or file content.
Your API key. Include it in every request as the X-API-KEY header. Create and manage keys in the Developer Platform.
Restrict to documents from this ingestion source (e.g. email).
email Include only documents created on or after this date and time (ISO 8601 format).
Restrict to documents by ownership: all (default), only documents you own (owned), or only documents shared with you (shared).
all, shared, owned Restrict to documents uploaded by this user ID.
Page number for pagination (1-based). Use with page_size to navigate results.
x >= 1Number of documents to return per page (1–100). Default 50.
1 <= x <= 100Field used to sort the result set (e.g. created_at, file_name, status).
created_at, updated_at, file_name, raw_size, content_type, status Sort direction: asc (ascending) or desc (descending). Default desc.
asc, desc Filter by file name; case-insensitive partial match.
Restrict to documents in this collection (used for email/attachment grouping).
Restrict to documents ingested by this connector (UUID).
Filter by tag names; documents matching any of the given tags are returned (OR logic). Can be repeated for multiple tags.
Paginated list of documents matching the filters. The results array contains document metadata; use each document's id with Get annotated document or Get original document to retrieve file content.
Documents in this page. Each item includes id (content_id), file_name, status, connector_id, tags, and timestamps.