Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
The name of the vector store.
The expiration policy for a vector store.
The chunking strategy used to chunk the file(s). If not set, will use the auto
strategy. Only applicable if file_ids
is non-empty.
The default strategy. This strategy currently uses a max_chunk_size_tokens
of 800
and chunk_overlap_tokens
of 400
.
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, and querying for objects via API or the dashboard.
Keys are strings with a maximum length of 64 characters. Values are strings with a maximum length of 512 characters.
Response
OK
A vector store is a collection of processed files can be used by the file_search
tool.
The identifier, which can be referenced in API endpoints.
The object type, which is always vector_store
.
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.
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.
expired
, in_progress
, completed
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, and querying for objects via API or the dashboard.
Keys are strings with a maximum length of 64 characters. Values are strings with a maximum length of 512 characters.
The expiration policy for a vector store.
The Unix timestamp (in seconds) for when the vector store will expire.