🗃️ Vector Stores Official Documentation

⋙ Create Vector Store

Create a vector store.

msg.payload Properties

file_ids array
A list of File IDs that the vector store should use. Useful for tools like file_search that can access files.
name string
The name of the vector store.
expires_after object
The expiration policy for a vector store.
chunking_strategy object
The chunking strategy used to chunk the file(s).
metadata object
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.

⋙ List Vector Stores

Returns a list of vector stores.

msg.payload Properties

limit integer
A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 20.
order string
Sort order by the created_at timestamp of the objects. asc for ascending order and desc for descending order.
after string
A cursor for use in pagination. after is an object ID that defines your place in the list.
before string
A cursor for use in pagination. before is an object ID that defines your place in the list.

⋙ Retrieve Vector Store

Retrieves a vector store.

msg.payload Properties

vector_store_id string
The ID of the vector store to retrieve.

⋙ Modify Vector Store

Modifies a vector store.

msg.payload Properties

vector_store_id string
The ID of the vector store to modify.
name string
The name of the vector store.
expires_after object
The expiration policy for a vector store.
metadata object
Set of 16 key-value pairs that can be attached to an object.

⋙ Delete Vector Store

Delete a vector store.

msg.payload Properties

vector_store_id string
The ID of the vector store to delete.