Get presigned upload URL
Generate a presigned URL for direct file upload. This allows clients to upload files directly to storage without passing through the API server. After uploading, call POST /files to create the database record.
Authorizations
API key prefixed with mvra_live_. Create keys at Settings > Developer > API Keys.
Body
Name of the file to upload
MIME type of the file (e.g., 'image/png', 'application/pdf')
File size in bytes. Maximum 10MB for regular files, 2GB for video files.
x >= 1Workspace to upload the file to
SHA256 checksum of the file for integrity verification (optional)
Optional folder ID to organize the file
Response
Presigned upload URL generated
Response containing the presigned upload URL and instructions
upload_url Presigned URL for uploading the file (PUT request)
Public URL where the file will be accessible after upload
Storage key for the file
Seconds until the upload URL expires (3600 = 1 hour)
HTTP method to use for uploading
PUT Headers to include when uploading to the presigned URL
Instructions for completing the upload