Returns a paginated list of vector stores.
GET
/vector_stores
Authorization
AuthorizationRequiredBearer <token>
In: header
Query Parameters
limitnumber
Number of results to return (1-100).
orderstring
Sort order by creation time: asc or desc.
afterstring
Cursor for forward pagination.
beforestring
Cursor for backward pagination.
Example
Request
Response
Create vector store
Create a vector store for file search. Covers the request body (name, file_ids, expires_after, metadata), the vector store object returned (id, name, usage_bytes, file_counts, status), and an example request and response.
Retrieve vector store
Fetch one vector store by ID. Covers the path parameter, the vector store object returned (name, usage_bytes, file_counts, status, expires_after, metadata), and an example request and response.