Remove a file and its associated vectors from a vector store.
DELETE
/vector_stores/{vector_store_id}/files/{file_id}
Authorization
AuthorizationRequiredBearer <token>
In: header
Path Parameters
vector_store_idRequiredstring
The ID of the vector store.
file_idRequiredstring
The ID of the file.
Example
Request
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.
Create file batch
Add up to 50 files to a vector store in one request for asynchronous indexing. Covers the request body (file_ids, chunking_strategy, attributes), the file batch object returned (status, file_counts), and an example request and response.