Skip to main content
DELETE
Python (SDK)

Autorizações

Authorization
string
header
obrigatório

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>.

Cabeçalhos

X-On-Behalf-Of
string

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

Parâmetros de caminho

vector_store_id
string
obrigatório

O ID da loja de vetores à qual o arquivo pertence.

file_id
string
obrigatório

O ID do arquivo a ser excluído.

Resposta

200 - application/json

OK

Status de exclusão para um arquivo de armazenamento de vetor.

id
string
obrigatório

A ID do arquivo deletado.

object
any
obrigatório

O tipo de objeto, que é sempre 'vector_store.file.deleted'.

deleted
boolean
obrigatório

Se a exclusão foi bem-sucedida.