Mixedbread

Get Multipart Upload

Get a multipart upload's details with fresh presigned URLs for any parts not yet uploaded.

GET
/v1/files/uploads/{upload_id}

Authorization

ApiKeyAuth
headerAuthorizationBearer <token>

Api key to access Mixedbreads API

Path Parameters

upload_id*Upload Id

The ID of the multipart upload

Formatuuid

Response Body

Upload details with presigned URLs for incomplete parts

application/json
  1. response
id*Id

The multipart upload record ID

filename*Filename

Original filename

file_size*File Size

Total file size in bytes

mime_type*Mime Type

MIME type of the file

part_count*Part Count

Number of parts the file was split into

created_at*Created At

When 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

Example Request
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=..."
    }
  ]
}