List vector stores
List your vector stores, newest first.
GET
/vector_storesList your vector stores, newest first.
The list holds only your own stores. Use after with the last_id of a page to get the next one.
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
Query Parameters
limit?integer
The most items to return on one page, from 1 to 100.
Range
1 <= value <= 100after?string
The last_id of the previous page. Pass it to get the page that follows.
order?string
Sort by creation time. Defaults to desc, which puts the newest first.
Default
"desc"Value in
- "asc"
- "desc"
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl https://api.avey.ai/llm/vector_stores \ -H "Authorization: Bearer $AVEY_API_KEY"{ "object": "list", "data": [ { "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" } }, { "id": "vs_2b9e4d7a1c6f48e0a3d5b7c9e1f2a4b6", "object": "vector_store", "created_at": 1769817600, "name": "discharge-letters", "status": "completed", "usage_bytes": 0, "file_counts": { "in_progress": 0, "completed": 0, "failed": 0, "cancelled": 0, "total": 0 }, "metadata": {} } ], "first_id": "vs_6f1c2a9d8e7b4c35a0d1e2f3b4c5d6e7", "last_id": "vs_2b9e4d7a1c6f48e0a3d5b7c9e1f2a4b6", "has_more": false}