Create a new vector store.
cURL
curl --request POST \ --url https://api.example.com/api/v1/vector_stores \ --header 'Authorization: Basic <encoded-value>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "dimension": 123, "model_id": "<string>" } '
{ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "model_id": "<string>", "dimension": 123, "created_by": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "name": "<string>", "created_at": "2023-11-07T05:31:56Z", "last_active_at": "2023-11-07T05:31:56Z", "stats": { "usage_bytes": 123, "num_documents": 123 }, "context_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a" }
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Basic <encoded-value>
<encoded-value>
username:password
Request to create a new vector store.
Name of the vector store
Dimension of the vectors to be stored
Successful Response
Show child attributes