Get Vector Store File
GET/v1/vector_stores/{vector_store_identifier}/files/{file_id}
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
file_idstringrequired
The ID of the file
Query Parameters
return_chunksbooleandefault:
false
Whether to return the chunks for the file
Response Body
idstringrequired
Unique identifier for the file
filenamestring
Name of the file
metadataobject
Optional file metadata
statusenum
VectorStoreFileStatus
Possible values
pending
in_progress
cancelled
completed
failed
last_errorobject
Last error message if processing failed
vector_store_idstringrequired
ID of the containing vector store
created_atstring(date-time)required
Timestamp of vector store file creation
versioninteger
Version number of the file
usage_bytesinteger
Storage usage in bytes
objectstringdefault:
vector_store.file
Type of the object
chunksarrayrequired
chunks
List Vector Store Files
List files indexed in a vector store with pagination and metadata filter.
Add File to Vector Store
Upload a new file to a vector store for indexing.
Last updated: August 19, 2025