Generate a presigned URL for direct file upload to storage
Generate a presigned URL that allows direct file upload to R2 storage without going through the API server. This is useful for large files or client-side uploads.
This endpoint requires authentication via API key.
Name of the file to upload
MIME type of the file (e.g., ‘audio/mpeg’, ‘audio/wav’)
Size of the file in bytes (for validation)
Indicates if the request was successful