Get Multipart Upload
Get a multipart upload's details with fresh presigned URLs for any parts not yet uploaded.
GET
ApiKeyAuthheader
AuthorizationBearer <token>Api key to access Mixedbreads API
upload_id*Upload IdThe ID of the multipart upload
Format
uuidUpload details with presigned URLs for incomplete parts
application/json- response
id*IdThe multipart upload record ID
filename*FilenameOriginal filename
file_size*File SizeTotal file size in bytes
mime_type*Mime TypeMIME type of the file
part_count*Part CountNumber of parts the file was split into
created_at*Created AtWhen the upload was initiated
completed_parts*array<>Parts that have already been uploaded
part_urls*array<>Presigned URLs for the parts that still need to be uploaded
from mixedbread import Mixedbread
mxbai = Mixedbread(api_key="YOUR_API_KEY")
res = mxbai.files.uploads.get("a1b2c3d4-e5f6-7890-abcd-ef1234567890")
print(res)
Example Response
{
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"filename": "large-document.pdf",
"file_size": 104857600,
"mime_type": "application/pdf",
"part_count": 10,
"created_at": "2025-01-15T10:00:00.000Z",
"completed_parts": [
{
"part_number": 1,
"etag": "\"abc123def456\""
}
],
"part_urls": [
{
"part_number": 2,
"url": "https://storage.example.com/upload?partNumber=2&uploadId=..."
}
]
}