Skip to Content
Documents

List documents

GET
/documents

Returns one page of documents ordered by ID. Request nextCursor until it is null. Preparation status is not included; read it from the document itself.

Authorization

headerAuthorizationBearer <token>

Authorization code with S256 PKCE. Discover issuer metadata at /.well-known/oauth-authorization-server/api/auth and resource metadata at /.well-known/oauth-protected-resource/api/v1. Request the /api/v1 resource explicitly. The same token endpoint also supports the advertised OAuth device grant.

Scope: documents:read

Query Parameters

limit?integer
Range1 <= value <= 200
Default100
cursor?string
q?string

Literal, case-insensitive filename substring.

Lengthlength <= 512
folderId?string

Empty selects unfiled documents; omitted selects all.

ids?string

Comma-separated canonical IDs, at most 200.

Response Body

One page of metadata; status is available from the item route.

application/json
  1. response
data*array<>
nextCursor*string|null
Example Request
curl -X GET 'https://reader.example/api/v1/documents'
Example Response
{  "data": [    {      "id": "string",      "name": "string",      "size": 0,      "lastModified": 0,      "type": "pdf",      "scope": "user",      "folderId": "string",      "recentlyOpenedAt": 0,      "contentVersion": "string",      "author": "string",      "language": "string",      "readingProgress": {        "fraction": 0,        "updatedAtMs": 0      }    }  ],  "nextCursor": "string"}