Create a folder
Creates a folder. Omit id to have one generated; pass documentIds to move documents into it in the same step.
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
id?string^[a-zA-Z0-9-]{1,100}$name*string1 <= lengthdocumentIds?array<>items <= 200Created folder.
application/json- response
id*string^[a-zA-Z0-9-]{1,100}$name*stringposition*integercreatedAt*numberupdatedAt*numbercurl -X POST 'https://reader.example/api/v1/folders' \ -H 'Content-Type: application/json' \ -d '{ "name": "Research", "documentIds": [ "9f86d081884c7d659a2feaa0c55ad015a3bf4f1b2b0b822cd15d6c15b0f00a08" ]}'{ "id": "string", "name": "string", "position": 0, "createdAt": 0, "updatedAt": 0}Send the file PUT
Use the prepared descriptor instead of constructing this URL. The body must match its declared byte length. Presigned mode rejects proxy transfers. A URL prepared by the MCP docs upload command carries owner, expires and signature query parameters in place of a token, valid for that upload only.
Delete all folders DELETE
Deletes every folder the caller has. Documents move to the top of the library.