uploads
mcp
uploads
Get a pre-signed URL to upload large files (.docx/PDF/HTML/MD/RTF) without bloating agent context.
Returns a short-lived (5-minute) PUT URL plus a ready-to-run curl_example. An agent with shell access can run the curl_example directly to push the file to cloud storage, so the bytes never pass through its context window; clients without shell execution can surface the command or URL for the caller to run. After upload completes, call process_uploaded_document with the upload_id to trigger parsing. For files <100KB where token cost is trivial, upload_document_base64 still works inline. Max file size: 100 MB. Supported formats: .pdf, .docx, .txt, .rtf, .md, .html, .htm, .tex (plus .zip LaTeX project archives).
post/v1/uploads
Request
- Base URL: https://api.superdocs.app
- URL: https://api.superdocs.app/v1/uploads
- Auth: HTTP bearer
Headers
authorizationstring nullable
Request body
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.