Retrieve a vector store

Read a vector store's details, including how many of its files are indexed.

GET/vector_stores/{vector_store_id}

Read a vector store's details, including how many of its files are indexed.

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 https://api.avey.ai/llm/vector_stores/vs_6f1c2a9d8e7b4c35a0d1e2f3b4c5d6e7 \  -H "Authorization: Bearer $AVEY_API_KEY"
{  "id": "vs_6f1c2a9d8e7b4c35a0d1e2f3b4c5d6e7",  "object": "vector_store",  "created_at": 1769904000,  "name": "ward-protocols",  "status": "completed",  "usage_bytes": 20480,  "file_counts": {    "in_progress": 0,    "completed": 3,    "failed": 0,    "cancelled": 0,    "total": 3  },  "metadata": {    "project_id": "ward-7"  }}