Skip to content

The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:

Auto-update documentation for master (#79402)

github-automation-metabasec461aa579e13
diff --git a/docs/api.json b/docs/api.json
index 142522144b1..5ca63d31f5e 100644
--- a/docs/api.json
+++ b/docs/api.json
@@ -16539,6 +16539,31 @@
"tags" : [ "/api/apps" ]
}
},
+ "/api/apps/sandbox-host" : {
+ "get" : {
+ "operationId" : "get-api-apps-sandbox-host",
+ "summary" : "GET /api/apps/sandbox-host",
+ "description" : "Serve the document used as the `src` of the Near-Membrane realm iframe, carrying a\n per-document CSP that confines `'unsafe-eval'` to that realm. See [[sandbox-host-csp]].",
+ "parameters" : [ ],
+ "responses" : {
+ "2XX" : {
+ "description" : "Successful response",
+ "content" : {
+ "application/json" : {
+ "schema" : { }
+ }
+ }
+ },
+ "4XX" : {
+ "description" : "Client error response"
+ },
+ "5XX" : {
+ "description" : "Server error response"
+ }
+ },
+ "tags" : [ "/api/apps" ]
+ }
+ },
"/api/apps/{slug}" : {
"put" : {
"operationId" : "put-api-apps-slug",
@@ -26295,6 +26320,18 @@
"type" : "null"
} ]
},
+ "warnings" : {
+ "type" : "array",
+ "items" : {
+ "type" : "object",
+ "properties" : {
+ "type" : {
+ "type" : "string"
+ }
+ },
+ "required" : [ "type" ]
+ }
+ },
"dev_bundle_url" : {
"oneOf" : [ {
"type" : "string"
@@ -26317,7 +26354,7 @@
} ]
}
},
- "required" : [ "id", "display_name", "identifier", "status", "enabled", "dev_only", "created_at", "updated_at" ]
+ "required" : [ "id", "display_name", "identifier", "status", "enabled", "dev_only", "warnings", "created_at", "updated_at" ]
}
}
}
@@ -26412,6 +26449,18 @@
"type" : "null"
} ]
},
+ "warnings" : {
+ "type" : "array",
+ "items" : {
+ "type" : "object",
+ "properties" : {
+ "type" : {
+ "type" : "string"
+ }
+ },
+ "required" : [ "type" ]
+ }
+ },
"dev_bundle_url" : {
"oneOf" : [ {
"type" : "string"
@@ -26434,7 +26483,7 @@
} ]
}
},
- "required" : [ "id", "display_name", "identifier", "status", "enabled", "dev_only", "created_at", "updated_at" ]
+ "required" : [ "id", "display_name", "identifier", "status", "enabled", "dev_only", "warnings", "created_at", "updated_at" ]
}
}
}
@@ -26508,6 +26557,18 @@
"type" : "null"
} ]
},
+ "warnings" : {
+ "type" : "array",
+ "items" : {
+ "type" : "object",
+ "properties" : {
+ "type" : {
+ "type" : "string"
+ }
+ },
+ "required" : [ "type" ]
+ }
+ },
"dev_bundle_url" : {
"oneOf" : [ {
"type" : "string"
@@ -26530,7 +26591,7 @@
} ]
}
},
- "required" : [ "id", "display_name", "identifier", "status", "enabled", "dev_only", "created_at", "updated_at" ]
+ "required" : [ "id", "display_name", "identifier", "status", "enabled", "dev_only", "warnings", "created_at", "updated_at" ]
}
}
}
@@ -26573,7 +26634,7 @@
"get" : {
"operationId" : "get-api-ee-custom-viz-plugin-list",
"summary" : "GET /api/ee/custom-viz-plugin/list",
- "description" : "List active and enabled custom visualization plugins. Available to any authenticated user.\n Plugins with incompatible Metabase version requirements are excluded.\n Dev-only plugins are excluded when dev mode is disabled.",
+ "description" : "List active and enabled custom visualization plugins. Available to any authenticated user.\n Plugins with version mismatches are included, with soft `warnings` attached.\n Dev-only plugins are excluded when dev mode is disabled.",
"parameters" : [ ],
"responses" : {
"2XX" : {
@@ -26585,6 +26646,23 @@
"items" : {
"type" : "object",
"properties" : {
+ "bundle_url" : {
+ "type" : "string",
+ "minLength" : 1
+ },
+ "id" : {
+ "description" : "value must be an integer greater than zero.",
+ "type" : "integer",
+ "minimum" : 1
+ },
+ "identifier" : {
+ "type" : "string",
+ "minLength" : 1
+ },
+ "display_name" : {
+ "type" : "string",
+ "minLength" : 1
+ },
"bundle_hash" : {
"oneOf" : [ {
"type" : "string"
@@ -26592,9 +26670,22 @@
"type" : "null"
} ]
},
- "bundle_url" : {
- "type" : "string",
- "minLength" : 1
+ "manifest" : {
+ "oneOf" : [ { }, {
+ "type" : "null"
+ } ]
+ },
+ "warnings" : {
+ "type" : "array",
+ "items" : {
+ "type" : "object",
+ "properties" : {
+ "type" : {
+ "type" : "string"
+ }
+ },
+ "required" : [ "type" ]
+ }
},
"dev_bundle_url" : {
"oneOf" : [ {
@@ -26603,33 +26694,15 @@
"type" : "null"
} ]
},
- "display_name" : {
- "type" : "string",
- "minLength" : 1
- },
"icon" : {
"oneOf" : [ {
"type" : "string"
}, {
"type" : "null"
} ]
- },
- "id" : {
- "description" : "value must be an integer greater than zero.",
- "type" : "integer",
- "minimum" : 1
- },
- "identifier" : {
- "type" : "string",
- "minLength" : 1
- },
- "manifest" : {
- "oneOf" : [ { }, {
- "type" : "null"
- } ]
}
},
- "required" : [ "id", "identifier", "display_name", "bundle_url" ]
+ "required" : [ "id", "identifier", "display_name", "bundle_url", "warnings" ]
}
}
}
@@ -26649,7 +26722,7 @@
"get" : {
"operationId" : "get-api-ee-custom-viz-plugin-sandbox-host",
"summary" : "GET /api/ee/custom-viz-plugin/sandbox-host",
- "description" : "Serve a minimal HTML document used as the iframe `src` for the near-membrane custom-viz\n sandbox. The response carries a per-document `Content-Security-Policy` that permits\n `'unsafe-eval'` only inside this iframe, so the main Metabase document keeps its strict\n nonce-based CSP.",
+ "description" : "Serve a minimal HTML document used as the iframe `src` for the near-membrane custom-viz\n sandbox. The response carries a per-document `Content-Security-Policy` that permits\n `'unsafe-eval'` only inside this iframe, so the main Metabase document keeps its strict\n nonce-based CSP. 404s unless the custom-viz kill switch is on and the request passes the\n fetch-metadata gate (see [[donor-load-allowed?]]).",
"parameters" : [ ],
"responses" : {
"2XX" : {
@@ -26771,6 +26844,18 @@
"type" : "null"
} ]
},
+ "warnings" : {
+ "type" : "array",
+ "items" : {
+ "type" : "object",
+ "properties" : {
+ "type" : {
+ "type" : "string"
+ }
+ },
+ "required" : [ "type" ]
+ }
+ },
"dev_bundle_url" : {
"oneOf" : [ {
"type" : "string"
@@ -26793,7 +26878,7 @@
} ]
}
},
- "required" : [ "id", "display_name", "identifier", "status", "enabled", "dev_only", "created_at", "updated_at" ]
+ "required" : [ "id", "display_name", "identifier", "status", "enabled", "dev_only", "warnings", "created_at", "updated_at" ]
}
}
}
@@ -26935,6 +27020,18 @@
"type" : "null"
} ]
},
+ "warnings" : {
+ "type" : "array",
+ "items" : {
+ "type" : "object",
+ "properties" : {
+ "type" : {
+ "type" : "string"
+ }
+ },
+ "required" : [ "type" ]
+ }
+ },
"dev_bundle_url" : {
"oneOf" : [ {
"type" : "string"
@@ -26957,7 +27054,7 @@
} ]
}
},
- "required" : [ "id", "display_name", "identifier", "status", "enabled", "dev_only", "created_at", "updated_at" ]
+ "required" : [ "id", "display_name", "identifier", "status", "enabled", "dev_only", "warnings", "created_at", "updated_at" ]
}
}
}
@@ -27192,6 +27289,18 @@
"type" : "null"
} ]
},
+ "warnings" : {
+ "type" : "array",
+ "items" : {
+ "type" : "object",
+ "properties" : {
+ "type" : {
+ "type" : "string"
+ }
+ },
+ "required" : [ "type" ]
+ }
+ },
"dev_bundle_url" : {
"oneOf" : [ {
"type" : "string"
@@ -27214,7 +27323,7 @@
} ]
}
},
- "required" : [ "id", "display_name", "identifier", "status", "enabled", "dev_only", "created_at", "updated_at" ]
+ "required" : [ "id", "display_name", "identifier", "status", "enabled", "dev_only", "warnings", "created_at", "updated_at" ]
}
}
}
@@ -28586,7 +28695,7 @@
"schema" : {
"oneOf" : [ {
"type" : "string",
- "enum" : [ "created_at", "message_count", "total_tokens", "cache_read_tokens", "user", "profile_id", "ip_address" ]
+ "enum" : [ "created_at", "title", "message_count", "total_tokens", "cache_read_tokens", "user", "profile_id", "ip_address" ]
}, {
"type" : "null"
} ]
@@ -38216,7 +38325,7 @@
"required" : false,
"schema" : {
"type" : "string",
- "enum" : [ "anthropic", "openai", "azure", "bedrock", "metabase", "openrouter" ]
+ "enum" : [ "anthropic", "openai", "mistral", "azure", "bedrock", "zai", "metabase", "openrouter" ]
}
} ],
"responses" : {
@@ -38413,7 +38522,7 @@
},
"provider" : {
"type" : "string",
- "enum" : [ "anthropic", "openai", "azure", "bedrock", "metabase", "openrouter" ]
+ "enum" : [ "anthropic", "openai", "mistral", "azure", "bedrock", "zai", "metabase", "openrouter" ]
}
},
"required" : [ "provider" ]
diff --git a/docs/configuring-metabase/config-template.md b/docs/configuring-metabase/config-template.md
index bc5982bd8b5..ecdaa0f3ad1 100644
--- a/docs/configuring-metabase/config-template.md
+++ b/docs/configuring-metabase/config-template.md
@@ -219,6 +219,8 @@ config:
llm-connection-timeout-ms: 5000
llm-max-tokens: 4096
llm-metabot-provider: anthropic/claude-sonnet-4-6
+ llm-mistral-api-base-url: https://api.mistral.ai/v1
+ llm-mistral-api-key: null
llm-openai-api-base-url: https://api.openai.com
llm-openai-api-key: null
llm-openai-model: gpt-5.4
@@ -227,6 +229,8 @@ config:
llm-rate-limit-per-ip: 100
llm-rate-limit-per-user: 20
llm-request-timeout-ms: 60000
+ llm-zai-api-base-url: https://api.z.ai/api/paas/v4
+ llm-zai-api-key: null
loading-message: doing-science
login-page-illustration: default
login-page-illustration-custom: null
@@ -346,5 +350,6 @@ config:
usage-metadata-last-completed-day: null
usage-metadata-retention-days: 90
usage-metadata-schedule: 0 0 2 * * ? *
+ use-native-pivot-tables: false
user-visibility: all
```
diff --git a/docs/configuring-metabase/environment-variables.md b/docs/configuring-metabase/environment-variables.md
index dd13bf8162c..988d2d2302a 100644
--- a/docs/configuring-metabase/environment-variables.md
+++ b/docs/configuring-metabase/environment-variables.md
@@ -1385,6 +1385,22 @@ Maximum tokens for LLM responses.
The AI provider and model for Metabot. Format: provider/model-name, e.g. `anthropic/claude-haiku-4-5`, `openai/gpt-5.4`, `openrouter/anthropic/claude-haiku-4.5`.
+### `MB_LLM_MISTRAL_API_BASE_URL`
+
+- Type: string
+- Default: `https://api.mistral.ai/v1`
+- [Configuration file name](./config-file.md): `llm-mistral-api-base-url`
+
+The Mistral API base URL used for Chat Completions.
+
+### `MB_LLM_MISTRAL_API_KEY`
+
+- Type: string
+- Default: `null`
+- [Configuration file name](./config-file.md): `llm-mistral-api-key`
+
+The Mistral API Key.
+
### `MB_LLM_OPENAI_API_BASE_URL`
- Type: string
@@ -1449,6 +1465,22 @@ Maximum SQL generation requests per user per minute.
Socket timeout in milliseconds for LLM API requests.
+### `MB_LLM_ZAI_API_BASE_URL`
+
+- Type: string
+- Default: `https://api.z.ai/api/paas/v4`
+- [Configuration file name](./config-file.md): `llm-zai-api-base-url`
+
+The Z.AI API base URL used for Chat Completions.
+
+### `MB_LLM_ZAI_API_KEY`
+
+- Type: string
+- Default: `null`
+- [Configuration file name](./config-file.md): `llm-zai-api-key`
+
+The Z.AI API Key.
+
### `MB_LOAD_ANALYTICS_CONTENT`
- Type: boolean
@@ -2611,6 +2643,13 @@ How many days of usage metadata rollups to retain.
Cron schedule (in UTC) for usage metadata batch processing.
+### `MB_USE_NATIVE_PIVOT_TABLES`
+
+- Type: boolean
+- Default: `false`
+
+When enabled, run pivot queries as a single native GROUPING SETS query on drivers that support it, instead of running one query per breakout combination.
+
### `MB_USER_VISIBILITY`
> Only available on Metabase [Pro](https://www.metabase.com/product/pro) and [Enterprise](https://www.metabase.com/product/enterprise) plans.
diff --git a/docs/usage-and-performance-tools/usage-analytics-reference.md b/docs/usage-and-performance-tools/usage-analytics-reference.md
index 6ea539b2467..5bf59a28de0 100644
--- a/docs/usage-and-performance-tools/usage-analytics-reference.md
+++ b/docs/usage-and-performance-tools/usage-analytics-reference.md
@@ -633,6 +633,7 @@ The Topic column on the [Activity log](#activity-log) model takes one of:
- subscription-unsubscribe
- subscription-unsubscribe-undo
- subscription-update
+- table-data-edit
- table-manual-scan
- table-manual-sync
- table-publish
@@ -712,4 +713,5 @@ The Entity Type column on the [View log](#view-log) model takes one of:
- card
- collection
- dashboard
+- document
- table