Skip to main content
GET
List documents

Authorizations

X-API-KEY
string
header
required

Your API key. Include it in every request as the X-API-KEY header. Create and manage keys in the Developer Platform.

Query Parameters

origin
enum<string>

Restrict to documents from this ingestion source: email (email connector), investment_research (broker / investment research connector), sharepoint (Microsoft SharePoint connector), or file_upload (direct upload via POST /documents).

Available options:
email,
investment_research,
sharepoint,
file_upload
from_date
string<date-time>

Include only documents created on or after this date and time (ISO 8601 format).

ownership
enum<string>
default:all

Restrict to documents by ownership: all (default), only documents you own (owned), or only documents shared with you (shared).

Available options:
all,
shared,
owned
owner
string

Restrict to documents uploaded by this user ID.

page
integer
default:1

Page number for pagination (1-based). Use with page_size to navigate results.

Required range: x >= 1
page_size
integer
default:50

Number of documents to return per page (1–100). Default 50.

Required range: 1 <= x <= 100
sort_by
enum<string>
default:created_at

Field used to sort the result set (e.g. created_at, file_name, status).

Available options:
created_at,
updated_at,
file_name,
raw_size,
content_type,
status
sort_order
enum<string>
default:desc

Sort direction: asc (ascending) or desc (descending). Default desc.

Available options:
asc,
desc
file_name
string

Filter by file name; case-insensitive partial match.

rp_collection_id
string

Restrict to documents in this collection (used for email/attachment grouping).

connector
string

Restrict to documents ingested by this connector (UUID).

tags
string[]

Filter by tag names; documents matching any of the given tags are returned (OR logic).

Response

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.

results
object[]
required

Documents in this page. Each item includes id (content_id), file_name, status, connector_id, tags, usage, enrichments_requested, enrichments_applied, and timestamps.