Uploads
Get Presigned URL
Get a presigned URL for direct S3 upload
POST
Overview
Gets a presigned URL for uploading files smaller than 5MB directly to S3/R2 storage. This is more efficient than the direct upload endpoint. Upload Flow:- Call this endpoint to get a presigned URL
- PUT your file to the presigned URL
- Call
/s3/entriesto register the file in Drime
For files ≥ 5MB, use the multipart upload flow instead.
Request Body
Original filename
MIME type of the file
File size in bytes
File extension without dot
Workspace ID. Use
0 for personal workspace.Folder path for auto-creation
Parent folder ID
Response
Presigned URL for PUT upload (valid for 1 hour)
S3 key (format:
uploads/{uuid}/{uuid})Access control (
private)Request status (
success)
