The ID of the vector store to modify.
Modifies a vector store.
Path Parameters
Body
application/json
Body
UpdateVectorStoreRequest
The name of the vector store.
The expiration policy for a vector store.
Show Child Parameters
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
200 application/json
Response
OK
Vector store
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.
Allowed values: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.
Show Child Parameters
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.
Allowed values:expiredin_progresscompleted
The expiration policy for a vector store.
Show Child Parameters
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, 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.
Authentication
Path Parameters
Body
Delete a vector store.
Path Parameters
The ID of the vector store to delete.
Response
200 application/json
Response
OK
DeleteVectorStoreResponse
Allowed values:vector_store.deleted
Authentication
Path Parameters
Create a vector store file batch.
Path Parameters
The ID of the vector store for which to create a File Batch.
Example:vs_abc123
Body
application/json
Body
CreateVectorStoreFileBatchRequest
A list of File IDs that the vector store should use. Useful for tools like file_search that can access files.
>= 1 items<= 500 items
One OfThe chunking strategy used to chunk the file(s). If not set, will use the auto strategy.
The default strategy. This strategy currently uses a max_chunk_size_tokens of 800 and chunk_overlap_tokens of 400.
Show Child Parameters
Response
200 application/json
Response
OK
Vector store file batch
A batch of files attached to a vector store.
The identifier, which can be referenced in API endpoints.
The object type, which is always vector_store.file_batch.
Allowed values:vector_store.files_batch
The Unix timestamp (in seconds) for when the vector store files batch was created.
The ID of the vector store that the File is attached to.
The status of the vector store files batch, which can be either in_progress, completed, cancelled or failed.
Allowed values:in_progresscompletedcancelledfailed
Show Child Parameters
Authentication
Path Parameters
Body
Retrieves a vector store file batch.
Path Parameters
The ID of the vector store that the file batch belongs to.
Example:vs_abc123
The ID of the file batch being retrieved.
Example:vsfb_abc123
Response
200 application/json
Response
OK
Vector store file batch
A batch of files attached to a vector store.
The identifier, which can be referenced in API endpoints.
The object type, which is always vector_store.file_batch.
Allowed values:vector_store.files_batch
The Unix timestamp (in seconds) for when the vector store files batch was created.
The ID of the vector store that the File is attached to.
The status of the vector store files batch, which can be either in_progress, completed, cancelled or failed.
Allowed values:in_progresscompletedcancelledfailed
Show Child Parameters
Authentication
Path Parameters
Cancel a vector store file batch. This attempts to cancel the processing of files in this batch as soon as possible.
Path Parameters
The ID of the vector store that the file batch belongs to.
The ID of the file batch to cancel.
Response
200 application/json
Response
OK
Vector store file batch
A batch of files attached to a vector store.
The identifier, which can be referenced in API endpoints.
The object type, which is always vector_store.file_batch.
Allowed values:vector_store.files_batch
The Unix timestamp (in seconds) for when the vector store files batch was created.
The ID of the vector store that the File is attached to.
The status of the vector store files batch, which can be either in_progress, completed, cancelled or failed.
Allowed values:in_progresscompletedcancelledfailed