List Vector Store Files
POST/v1/vector_stores/{vector_store_identifier}/files/list
Authorization
Authorizationstringrequired
Bearer token for API authentication. Format: `Bearer YOUR_API_KEY`
Path Parameters
vector_store_identifierstringrequired
The ID or name of the vector store
Request Body
limitintegerdefault:
20
Maximum number of items to return per page (1-100)
Constraints
•Minimum: 1•Maximum: 100
afterstring
Cursor for forward pagination - get items after this position. Use last_cursor from previous response.
beforestring
Cursor for backward pagination - get items before this position. Use first_cursor from previous response.
include_totalbooleandefault:
false
Whether to include total count in response (expensive operation)
statusesVectorStoreFileStatus[]
Status to filter by
metadata_filterSearchFilter | SearchFilterCondition | array
Metadata filter to apply to the query
Response Body
paginationobjectrequired
Response model for cursor-based pagination.
objectstringdefault:
list
The object type of the response
dataVectorStoreFile[]required
The list of vector store files
Delete Vector Store
Delete a vector store by ID or name.
Get Vector Store File
Get details of a specific file in a vector store.
Last updated: August 19, 2025