Modify a vector store
Updates the name, description, expiration policy or metadata of an existing vector store. The embedding model, embedding dimensions, retrieval mode, extraction model and max hops are fixed when a store is created, and chunking is set per attached file: sending any of them returns 400 with a message that says what to do instead (a new store from the same file IDs; re-attaching the file). Unknown fields are rejected the same way. Returns 410 once the vector store has expired.
Authorizations
Body
Request body for modifying a vector store. Only name, description, expires_after and metadata can change; embedding_model, embedding_dimensions, retrieval_mode, extraction_model and max_hops are fixed at creation, chunking_strategy is set per attached file, and any such field (or an unknown one) is rejected with 400.
Response
OK
A vector store is a collection of processed files that can be used by the file_search tool.
The number of dimensions for the embedding vectors in this vector store. Null for legacy vector stores. If the embedding model's declared dimensions stop including this size, or the model returns embeddings of another width, search fails with 412 and new files fail to ingest.
0 < x <= 9007199254740991Retrieval mode, frozen at creation. 'hybrid' (the default for new stores): vector similarity and full-text keyword search over the chunk text, fused by reciprocal rank fusion. 'vector': vector similarity search only. 'graph': GraphRAG — entities and relations are extracted at ingest and queries traverse the knowledge graph.
vector, hybrid, graph The Unix timestamp (in seconds) for when the vector store was last active: searched (directly or via file_search), modified, or had files ingested, re-tagged or removed. Searches update it at most once a minute; the service's own cleanup, such as removing an expired file, does not count.
-9007199254740991 <= x <= 9007199254740991