Move documents
Moves documents into a folder, or out of their folder when folderId is null. Moving keeps generated audio.
AuthorizationBearer <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:write
application/json- body
ids*array<>1 <= items <= 200folderId*string|nullUpdated document metadata.
application/json- response
data*array<>curl -X PATCH 'https://reader.example/api/v1/documents' \ -H 'Content-Type: application/json' \ -d '{ "ids": [ "9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08" ], "folderId": "research"}'{ "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 } } ]}List documents GET
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.
Search a document GET
Searches the same reading plan the reader uses, so each match is a sentence the reader can open at. A document never opened before is prepared first, as opening it would; that work is admitted against the user's compute limits, and this request does not wait for it.