Delete File
Delete a specific file by its ID.
DELETE
Removes the file from every store that references it (cleaning up chunks and store stats) before deleting the file object itself.
ApiKeyAuthheader
AuthorizationBearer <token>Api key to access Mixedbreads API
file_id*File IdThe ID of the file to delete
Format
uuidThe details of the deleted file
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 Mixedbreadmxbai = Mixedbread(api_key="YOUR_API_KEY")response = mxbai.files.delete(file_id="f47ac10b-58cc-4372-a567-0e02b2c3d479")print(response){ "id": "f47ac10b-58cc-4372-a567-0e02b2c3d479", "deleted": true, "object": "file"}