List vector store files
List the files attached to a vector store, newest first.
/vector_stores/{vector_store_id}/filesList the files attached to a vector store, newest first.
Each entry shows whether the file is indexed. A store that does not exist, or that belongs to another account, answers as not found, with 400 or 404.
Authorization
BearerAuth 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
The id of a vector store, as returned in its id.
Query Parameters
The most items to return on one page, from 1 to 100.
1 <= value <= 100The last_id of the previous page. Pass it to get the page that follows.
Sort by creation time. Defaults to desc, which puts the newest first.
"desc"Value in
- "asc"
- "desc"
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/files \ -H "Authorization: Bearer $AVEY_API_KEY"{ "object": "list", "data": [ { "id": "file-Cn3MSNn72ENTiiq11Qda4A", "object": "vector_store.file", "vector_store_id": "vs_6f1c2a9d8e7b4c35a0d1e2f3b4c5d6e7", "created_at": 1769904000, "usage_bytes": 20480, "status": "completed", "last_error": null }, { "id": "file-7kQ2mX9pLr4tVb1zWc8eHd", "object": "vector_store.file", "vector_store_id": "vs_6f1c2a9d8e7b4c35a0d1e2f3b4c5d6e7", "created_at": 1769817600, "usage_bytes": 52736, "status": "completed", "last_error": null } ], "first_id": "file-Cn3MSNn72ENTiiq11Qda4A", "last_id": "file-7kQ2mX9pLr4tVb1zWc8eHd", "has_more": false}