Document

List documents

Updated Dec 2, 2026

GET/documents

Returns documents in the workspace, newest change first. Use search to resolve a document you did not create through the API into a document_id: it matches the title.

⚠️ content is not included here — a document holds up to 2MB of it. Fetch the single document to read it.

Authorization

AuthorizationstringHeaderrequired
Bearer <token>

Authorization: Bearer YOUR_API_KEY. /v2 accepts no other method.

Parameters

Query

searchstring

Partial match on the title.

typestring

Filter by document type key.

statusenum<string>
Allowed values"draft""published""archived"
pageinteger
Default: 0
per_pageinteger
Default: 30
>= 1<= 100

Responses

OK

statusstring
dataobject