Skip to content

Delete a vector store file. This will remove the file from the vector store but the file itself will not be deleted. To delete the file, use the [delete file](/docs/api-reference/files/delete) endpoint.

DELETE
/vector_stores/{vector_store_id}/files/{file_id}

Authorizations

Parameters

Path Parameters

vector_store_id
required
string

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

file_id
required
string

The ID of the file to delete.

Responses

200

OK

object
id
required
string
deleted
required
boolean
object
required
string
Allowed values: vector_store.file.deleted