files

Create multipart upload

Initiate a multipart upload and receive presigned URLs for uploading parts directly to storage.

post/v1/files/uploads

Request body

filenamestring required

Name of the file including extension

file_sizeinteger required

Total size of the file in bytes

mime_typestring required

MIME type of the file

part_countinteger

Number of parts to split the upload into

Example request

{
  "filename": "document.pdf",
  "file_size": 10485760,
  "mime_type": "application/pdf",
  "part_count": 3
}

Response

The multipart upload details with presigned URLs

idstring required

The multipart upload ID (use this to complete or abort)

Changes

No recorded changes to this endpoint across all 17 revisions of this API.