Modifies a vector store.
POST /vector_stores/{vector_store_id}
Authorizations
Parameters
Path Parameters
The ID of the vector store to modify.
Request Body required
object
The name of the vector store.
The expiration policy for a vector store.
object
Anchor timestamp after which the expiration policy applies. Supported anchors: last_active_at
.
The number of days after the anchor time that the vector store will expire.
Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long.
object
Responses
200
OK
A vector store is a collection of processed files can be used by the file_search
tool.
object
The identifier, which can be referenced in API endpoints.
The object type, which is always vector_store
.
The Unix timestamp (in seconds) for when the vector store was created.
The name of the vector store.
The total number of bytes used by the files in the vector store.
object
The number of files that are currently being processed.
The number of files that have been successfully processed.
The number of files that have failed to process.
The number of files that were cancelled.
The total number of files.
The status of the vector store, which can be either expired
, in_progress
, or completed
. A status of completed
indicates that the vector store is ready for use.
The expiration policy for a vector store.
object
Anchor timestamp after which the expiration policy applies. Supported anchors: last_active_at
.
The number of days after the anchor time that the vector store will expire.
The Unix timestamp (in seconds) for when the vector store will expire.
The Unix timestamp (in seconds) for when the vector store was last active.
Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long and values can be a maximum of 512 characters long.