Vector Stores
Create vector store
vector_stores.create(**kwargs) -> VectorStore { id, created_at, file_counts, 8 more }
POST
/vector_storesDelete vector store
vector_stores.delete(vector_store_id) -> VectorStoreDeleted { id, deleted, object }
DELETE
/vector_stores/{vector_store_id}List vector stores
vector_stores.list(**kwargs) -> CursorPage<VectorStore { id, created_at, file_counts, 8 more } >
GET
/vector_storesRetrieve vector store
vector_stores.retrieve(vector_store_id) -> VectorStore { id, created_at, file_counts, 8 more }
GET
/vector_stores/{vector_store_id}Search vector store
vector_stores.search(vector_store_id, **kwargs) -> Page<VectorStoreSearchResponse { attributes, content, file_id, 2 more } >
POST
/vector_stores/{vector_store_id}/searchModify vector store
vector_stores.update(vector_store_id, **kwargs) -> VectorStore { id, created_at, file_counts, 8 more }
POST
/vector_stores/{vector_store_id}Vector StoresFile Batches
Cancel vector store file batch
vector_stores.file_batches.cancel(batch_id, **kwargs) -> VectorStoreFileBatch { id, created_at, file_counts, 3 more }
POST
/vector_stores/{vector_store_id}/file_batches/{batch_id}/cancelCreate vector store file batch
vector_stores.file_batches.create(vector_store_id, **kwargs) -> VectorStoreFileBatch { id, created_at, file_counts, 3 more }
POST
/vector_stores/{vector_store_id}/file_batchesList vector store files in a batch
vector_stores.file_batches.list_files(batch_id, **kwargs) -> CursorPage<VectorStoreFile { id, created_at, last_error, 6 more } >
GET
/vector_stores/{vector_store_id}/file_batches/{batch_id}/filesRetrieve vector store file batch
vector_stores.file_batches.retrieve(batch_id, **kwargs) -> VectorStoreFileBatch { id, created_at, file_counts, 3 more }
GET
/vector_stores/{vector_store_id}/file_batches/{batch_id}Vector StoresFiles
Retrieve vector store file content
vector_stores.files.content(file_id, **kwargs) -> Page<FileContentResponse { text, type } >
GET
/vector_stores/{vector_store_id}/files/{file_id}/contentCreate vector store file
vector_stores.files.create(vector_store_id, **kwargs) -> VectorStoreFile { id, created_at, last_error, 6 more }
POST
/vector_stores/{vector_store_id}/filesDelete vector store file
vector_stores.files.delete(file_id, **kwargs) -> VectorStoreFileDeleted { id, deleted, object }
DELETE
/vector_stores/{vector_store_id}/files/{file_id}List vector store files
vector_stores.files.list(vector_store_id, **kwargs) -> CursorPage<VectorStoreFile { id, created_at, last_error, 6 more } >
GET
/vector_stores/{vector_store_id}/filesRetrieve vector store file
vector_stores.files.retrieve(file_id, **kwargs) -> VectorStoreFile { id, created_at, last_error, 6 more }
GET
/vector_stores/{vector_store_id}/files/{file_id}Update vector store file attributes
vector_stores.files.update(file_id, **kwargs) -> VectorStoreFile { id, created_at, last_error, 6 more }
POST
/vector_stores/{vector_store_id}/files/{file_id}