Uploads
Create presigned URL for file upload
Generate a presigned URL for uploading a single file to the specified namespace. Files are limited to 5 MB on the Free plan and 200 MB on paid plans.
post/v1/namespace/{namespaceId}/uploads
Path parameters
namespaceIdstring required
The id of the namespace (prefixed with ns_)
Example:ns_123
The id of the namespace (prefixed with ns_)
Request body
Example request
{
"fileName": "document.pdf",
"contentType": "application/pdf",
"fileSize": 1024
}Response
Presigned URL generated successfully