Skip to main content
DELETE
Python (SDK)

Authorizations

Authorization
string
header
required

Gateway auth: send Authorization: Bearer <mka1-api-key>. For multi-user server-side integrations, you can also send X-On-Behalf-Of: <external-user-id>.

Headers

X-On-Behalf-Of
string

Optional external end-user identifier forwarded by the API gateway.

Path Parameters

vector_store_id
string
required

The ID of the vector store that the file belongs to.

file_id
string
required

The ID of the file to delete.

Response

200 - application/json

OK

Deletion status for a vector store file.

id
string
required

The ID of the deleted file.

object
any
required

The object type, which is always 'vector_store.file.deleted'.

deleted
boolean
required

Whether the deletion was successful.