Skip to content

Drop Vector Store

vector_stores.drop(strvector_store_name) -> VectorStoreDropResponse
POST/v5/vector-stores/{vector_store_name}/drop

Permanently delete a vector store and all its contents.

⚠️ WARNING: This is a destructive operation that cannot be undone. All documents, embeddings, metadata, and index configurations will be permanently deleted. Data recovery is not possible after deletion.

ParametersExpand Collapse
vector_store_name: str

The name of the vector store

ReturnsExpand Collapse
class VectorStoreDropResponse: …

Response for vector store deletion.

name: str

The name of the deleted vector store

Drop Vector Store

import os
from scale_gp_beta import SGPClient

client = SGPClient(
    api_key=os.environ.get("SGP_API_KEY"),  # This is the default and can be omitted
)
response = client.vector_stores.drop(
    "vector_store_name",
)
print(response.name)
{
  "name": "name"
}
Returns Examples
{
  "name": "name"
}