Returns a paginated list of files in a vector store.
Authorization
AuthorizationRequiredBearer <token>
In: header
Path Parameters
vector_store_idRequiredstring
The ID of the vector store.
Query Parameters
limitnumber
Number of results to return (1-100).
orderstring
Sort order: asc or desc.
afterstring
Cursor for forward pagination.
beforestring
Cursor for backward pagination.
filterstring
Filter by file status: in_progress, completed, failed, or cancelled.
Example
Request
Response
Add file to vector store
Add an uploaded file to a vector store for asynchronous indexing. Covers the request body (file_id, chunking_strategy, attributes), the vector store file object returned (status, last_error, usage_bytes), and an example request and response.
Retrieve file in vector store
Check one file in a vector store by vector store ID and file ID. Covers the path parameters, the vector store file object returned (status, last_error, usage_bytes, attributes), and an example request and response.