Documentation
API Reference
Playground
Chat completionsResponsesSystem One
Document classificationEmbeddings

Studio API

Upload fileList filesRetrieve fileDelete file
Create jobRetrieve job

Search

Create vector storeList vector storesRetrieve vector storeModify vector storeDelete vector storeAdd file to vector storeList files in vector storeRetrieve file in vector storeRemove file from vector storeCreate file batchRetrieve file batchList files in file batchCancel file batchSearch vector store
Create response

Delete vector store

Delete a vector store and all associated files and vectors.

DELETE
/vector_stores/{vector_store_id}
/vector_stores/{vector_store_id}

The Authorization access token

Authorization

Authorization
Required
Bearer <token>

In: header

Path Parameters

vector_store_id
Required
string

The ID of the vector store.


Example

Request

curl -X DELETE https://api.upstage.ai/v2/vector_stores/vs_abc123def456 \
  -H "Authorization: Bearer $UPSTAGE_API_KEY"

Response

{
  "id": "vs_abc123def456",
  "object": "vector_store.deleted",
  "deleted": true
}

Modify vector store

Update a vector store's name, expiration policy, or metadata. Covers the request body, the updated vector store object returned, and an example request and response.

Add file to vector store

Add an uploaded file to a vector store for asynchronous indexing. Covers the request body (file_id, chunking_strategy, attributes), the vector store file object returned (status, last_error, usage_bytes), and an example request and response.

On this page

Delete vector storeExampleRequestResponse