DeepFellow API ReferenceVector store files
Delete vector store file.
DELETE
Delete a vector store file.
Needs user bearer token in authorization header.
header
AuthorizationBearer <token>vector_store_id*stringThe ID of the vector store to use.
Match
^[0-9a-fA-F]{24}$file_id*stringThe ID of the file to delete
Match
^[0-9a-fA-F]{24}$OpenAI-Organization?|Organization Id from OpenAi compatible endpoint. Required to organization access or project access (with OpenAI-Project header) when logged as User or Admin User.
OpenAI-Project?|Project Id from OpenAi compatible endpoint. Required to project access for organization api key or User / Admin User access with OpenAI-Organization
Successful Response
application/json- response
id*stringA 24-character hexadecimal MongoDB ObjectId string.
Match
^[0-9a-fA-F]{24}$object?stringDefault
"vector_store.file.deleted"deleted?booleanDefault
trueExample Request
curl -X DELETE 'https://deepfellow-server-host/v1/vector_stores/5eb7cf5a86d9755df3a6c593/files/5eb7cf5a86d9755df3a6c593'Example Response
{ "id": "5eb7cf5a86d9755df3a6c593", "object": "vector_store.file.deleted", "deleted": true}We use cookies on our website. We use them to ensure proper functioning of the site and, if you agree, for purposes such as analytics, marketing, and targeting ads.