Update Store
Update a store by ID or name.
ApiKeyAuthAuthorizationBearer <token>Api key to access Mixedbreads API
store_identifier*|The ID or name of the store
application/json- body
The fields to update
name?|New name for the store. Can only contain lowercase letters, numbers, periods (.), and hyphens (-).
description?|New description
is_public?|Whether the store can be accessed by anyone with valid login credentials
license?|License for public stores
expires_after?|Optional expiration policy
metadata?|Optional metadata key-value pairs
tags?array<string>|New tags for the store, replacing the current ones. Send an empty list to clear.
The details of the updated 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.update( store_identifier="my-knowledge-base", name="updated-knowledge-base", description="Updated product documentation and FAQs", metadata={"version": "2.0"},)print(store){ "id": "vs_abc123", "object": "store", "name": "updated-knowledge-base", "description": "Updated product documentation and FAQs", "is_public": false, "metadata": { "version": "2.0" }, "tags": [], "config": { "contextualization": { "with_metadata": false, "with_file_context": false } }, "file_counts": { "in_progress": 0, "completed": 5, "failed": 0, "cancelled": 0, "pending": 0, "total": 5 }, "status": "completed", "usage_bytes": 1048576, "usage_tokens": 51200, "expires_after": null, "expires_at": null, "created_at": "2025-01-15T10:30:00.000Z", "updated_at": "2025-01-15T15:00:00.000Z", "last_active_at": "2025-01-15T15:00:00.000Z"}