v4
OpenAPI 3.1.02026-08-01166346466.7 KBstores
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.
post/v1/stores
Request body
Example request
{
"name": "technical-documentation",
"description": "Contains technical specifications and guides"
}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"
},
"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"
}