Abort Multipart Upload
Abort a multipart upload and clean up any uploaded parts.
POST
ApiKeyAuthheader
AuthorizationBearer <token>Api key to access Mixedbreads API
upload_id*Upload IdThe ID of the multipart upload to abort
Format
uuidThe details of the aborted upload
application/json- response
id*IdThe ID of the deleted file
deleted?DeletedWhether the file was deleted
Default
trueobject?ObjectThe type of the deleted object
Default
"file"from mixedbread import Mixedbread
mxbai = Mixedbread(api_key="YOUR_API_KEY")
res = mxbai.files.uploads.abort("a1b2c3d4-e5f6-7890-abcd-ef1234567890")
print(res)
Example Response
{
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"deleted": true,
"object": "file"
}