DeepFellow DOCS

Delete a vector store.

DELETE
/v1/vector_stores/{vector_store_id}

Delete a vector store by ID and cleanup associated entities.

This endpoint removes the specified vector store along with:

  1. Removing all associated files and entries in vector_store_files_collection.
  2. Deleting the corresponding collection from the underlying vector database.

Needs user bearer token for authorization.

Authorization

headerAuthorizationBearer <token>

Path Parameters

vector_store_id*string

The ID of the vector store to delete.

Match^[0-9a-fA-F]{24}$

Header Parameters

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

Response Body

Successful Response

application/json
  1. response
id*string

A 24-character hexadecimal MongoDB ObjectId string.

Match^[0-9a-fA-F]{24}$
object?string
Default"vector_store.deleted"
deleted?boolean
Defaulttrue
Example Request
curl -X DELETE 'https://deepfellow-server-host/v1/vector_stores/5eb7cf5a86d9755df3a6c593'
Example Response
{  "id": "5eb7cf5a86d9755df3a6c593",  "object": "vector_store.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.