Store Management
Stores transform any data into AI-native search engines that understand meaning, not just keywords. They act as containers for your files, automatically generating embeddings and enabling advanced search capabilities. Use these commands to create, manage, and organize your stores. Learn more about stores in the documentation.
List Stores
Command
Options
--filter <name>- Filter by name pattern--limit <n>- Limit number of results
Examples
Create Store
Command
Arguments
<name>- Name for the store (lowercase letters, numbers, periods, and hyphens only)
Options
--description <desc>- Description for the store--expires-after <days>- Auto-delete after specified days--metadata <json>- JSON metadata for the store--public [value]- Make store publicly accessible (requestor pays for usage)--contextualization [fields]- Include metadata in chunk embeddings to improve search relevance. Can be used as a flag to enable globally, or with comma-separated metadata field names for targeted contextualization (e.g.,--contextualization=title,author).
Examples
Get Store Details
Command
Options
None
Examples
Update Store
Command
Options
--name <name>- New name for the store (lowercase letters, numbers, periods, and hyphens only)--description <desc>- New description--expires-after <days>- Update expiration--metadata <json>- Update metadata--public [value]- Make store publicly accessible (requestor pays for usage)
Examples
Delete Store
Command
Alias: mxbai store rm <name-or-id>
Options
--yes,-y- Skip confirmation prompt
Examples
Last updated: February 2, 2026