Delete a vector store
Delete a vector store.
DELETE
/vector_stores/{vector_store_id}Delete a vector store.
Remove its files first with DELETE /vector_stores/{vector_store_id}/files/{file_id}. A store deleted while files are still attached leaves their indexed text behind. Deleting a store does not delete the files you uploaded. A store that does not exist, or that belongs to another account, answers as not found, with 400 or 404.
Authorization
BearerAuth AuthorizationBearer <token>
Your Avey API key, sent as Authorization: Bearer <key>. This is the header the OpenAI SDKs already send, so pass the key as the client's ordinary api_key and no further configuration is needed.
In: header
Path Parameters
vector_store_id*string
The id of a vector store, as returned in its id.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X DELETE https://api.avey.ai/llm/vector_stores/vs_6f1c2a9d8e7b4c35a0d1e2f3b4c5d6e7 \ -H "Authorization: Bearer $AVEY_API_KEY"{ "id": "vs_6f1c2a9d8e7b4c35a0d1e2f3b4c5d6e7", "object": "vector_store.deleted", "deleted": true}