API reference

API reference · API

Delete a vector store, with every chunk

DELETE/v1/vector_stores/{id}API key

The uploaded files stay in /v1/files.

Parameters

Path and query parameters
FieldTypeWhat it is
id (path)requiredstringThe vector store id, vs_ and 24 hex digits.

Answer 200

Deleted.

Fields of the 200 answer
FieldTypeWhat it is
idstring
object"vector_store.deleted"
deletedtrue

Errors

  • 400OpenAI shaped error.
  • 401OpenAI shaped error.
  • 402OpenAI shaped error.
  • 403OpenAI shaped error.
  • 404OpenAI shaped error.
  • 429OpenAI shaped error.

Every error answers in one shape, with its type, code and the field it names. The whole list is in the docs' Errors section.

Antimatter