Create a store
Create a new vector store.
Args: vector_store_create: VectorStoreCreate object containing the name, description, and metadata.
Returns: VectorStore: The response containing the created vector store details.
Request body
Example request
{
"name": "technical-documentation",
"description": "Contains technical specifications and guides",
"tags": [
"production",
"docs"
]
}Response
The details of the created store
Example response
{
"id": "1b8b486e-16d0-400b-8868-04cd75217a7e",
"name": "customer-support-kb",
"description": "Contains customer support articles and FAQs",
"metadata": {
"category": "support",
"language": "en"
},
"tags": [
"production",
"docs"
],
"file_counts": {
"pending": 5,
"in_progress": 5,
"cancelled": 2,
"completed": 42,
"failed": 1,
"total": 50
},
"created_at": "2024-01-01T00:00:00Z",
"updated_at": "2024-01-01T00:00:00Z",
"usage_bytes": 1024000,
"usage_tokens": 1024000,
"expires_at": "2024-01-01T00:00:00Z"
}Changes
Changed in 3 of the 30 revisions of this API.15
- ○
added the new optional request property
new-optional-request-property
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
- ●
added the new
failedenum value to theresponse property for the response statusresponse-property-enum-value-added
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ●
- ○
added the new optional request property
//new-optional-request-property
- ○
added the optional property
//to the response with the statusresponse-optional-property-added
This revision also has 4 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○