Skip to Content
Uploads

Send the file

PUT
/uploads/{uploadId}/file

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.

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:write

Path Parameters

uploadId*string
Formatuuid

Request Body

body*file*/*
Formatbinary

Response Body

Completed; no response body.

Example Request
curl -X PUT 'https://reader.example/api/v1/uploads/497f6eca-6276-4993-bfeb-53cbbbba6f08/file'
Example Response
Empty