Create Store
Create a new store.
ApiKeyAuthAuthorizationBearer <token>Api key to access Mixedbreads API
application/json- body
The store details for creation
name?|Name for the new store. Can only contain lowercase letters, numbers, periods (.), and hyphens (-).
description?|Description of the store
is_public?Is PublicWhether the store can be accessed by anyone with valid login credentials
falselicense?|License for public stores
expires_after?|Optional expiration policy
metadata?|Optional metadata key-value pairs
tags?array<string>Tags for organizing stores. Trimmed, lowercased and deduplicated.
items <= 32config?|Store-level configuration defaults
file_ids?array<>|Optional list of file IDs
The details of the created store
application/json- response
Model representing a store with its metadata and timestamps.
id*IdUnique identifier for the store
name*NameName of the store
1 <= length <= 128description?|Detailed description of the store's purpose and contents
is_public?Is PublicWhether the store can be accessed by anyone with valid login credentials
falselicense?|License for public stores
metadata?|Additional metadata associated with the store
tags?array<string>Tags for organizing stores
config?|Store-level configuration defaults
bucket_id?|Customer bucket backing this store's storage; null = platform default
file_counts?Counts of files in different states
expires_after?|Optional expiration policy
status?StoreStatusProcessing status of the store
"completed""expired""in_progress""completed""failed"created_at*Created AtTimestamp when the store was created
date-timeupdated_at*Updated AtTimestamp when the store was last updated
date-timelast_active_at?|Timestamp when the store was last used
usage_bytes?Usage BytesTotal storage usage in bytes
0usage_tokens?Usage TokensTotal storage usage in tokens
0expires_at?|Optional expiration timestamp for the store
copy_state?|Set while the store is being copied from or into, and when a copy into it failed
object?ObjectType of the object
"store"from mixedbread import Mixedbreadmxbai = Mixedbread(api_key="YOUR_API_KEY")store = mxbai.stores.create( name="my-knowledge-base", description="Product documentation and FAQs")print(store){ "id": "vs_abc123", "object": "store", "name": "product-documentation", "description": "Product documentation and FAQs", "is_public": false, "metadata": {}, "tags": [], "config": { "contextualization": { "with_metadata": false, "with_file_context": false } }, "file_counts": { "in_progress": 0, "completed": 0, "failed": 0, "cancelled": 0, "pending": 0, "total": 0 }, "status": "completed", "usage_bytes": 0, "usage_tokens": 0, "expires_after": null, "expires_at": null, "created_at": "2025-01-15T10:30:00.000Z", "updated_at": "2025-01-15T10:30:00.000Z", "last_active_at": null}