Retrieve a paginated list of files that have been added to a vector store.
This endpoint returns all files that are currently indexed in the specified vector store, including their metadata such as file name, size, MIME type, and creation timestamp.
Token-based Pagination:
page_size, continuation_token, sort_by, sort_order query parameterssize and continuation_token query parametersnext_token from the response to fetch subsequent pagesnext_token is null, you have reached the last pageReturns:
next_token for pagination (null if no more pages)Example Response:
{
"items": [
{
"id": "vsf_123456789",
"vector_store_id": "vs_123456789",
"parse_result_id": "pres_987654321",
"file_id": "file_987654321",
"file_name": "document.pdf",
"file_size": 1024000,
"file_mime_type": "application/pdf",
"created_at": "2024-01-15T10:30:00Z"
}
],
"total_count": 1,
"next_token": "eyJmaWxlX2lkIjoiZmlsZV85ODc2NTQzMjEifQ=="
}
API key for authentication
Selected Account ID
[DEPRECATED] Maximum number of files to return per page. Use page_size instead.
1 <= x <= 100020
Pagination token
Number of items per page
1 <= x <= 100Field to sort by
Sort order (asc or desc) Enum for project sort fields. Note that only non-nullable fields can be sorted by (for details, see: https://github.com/djrobstep/sqlakeyset?tab=readme-ov-file#limitations ).
asc, desc