The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:
TypeScript analyticsbibusiness-intelligencebusinessintelligenceclojuredashboarddatadata-analysisdata-visualizationdatabasemetabasemysqlpostgrespostgresqlreportingslacksql-editorvisualization
Auto-update documentation for master (#79102)
github-automation-metabased5a43a3a3ae3
diff --git a/docs/api.json b/docs/api.jsonindex 5f7fa76726c..142522144b1 100644--- a/docs/api.json+++ b/docs/api.json@@ -28799,9 +28799,18 @@}, {"type" : "null"} ]+ },+ "forked_from_conversation_id" : {+ "oneOf" : [ {+ "description" : "value must be a valid UUID.",+ "type" : "string",+ "pattern" : "[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}"+ }, {+ "type" : "null"+ } ]}},- "required" : [ "conversation_id", "created_at", "title", "message_count", "user_message_count", "assistant_message_count", "total_tokens", "cache_read_tokens", "last_message_at", "profile_id", "search_count", "query_count", "ip_address", "embedding_hostname", "embedding_path", "user_agent", "sanitized_user_agent", "user" ]+ "required" : [ "conversation_id", "created_at", "title", "message_count", "user_message_count", "assistant_message_count", "total_tokens", "cache_read_tokens", "last_message_at", "profile_id", "search_count", "query_count", "ip_address", "embedding_hostname", "embedding_path", "user_agent", "sanitized_user_agent", "forked_from_conversation_id", "user" ]}},"limit" : {@@ -28952,6 +28961,13 @@"type" : "null"} ]},+ "fork_boundary_message_id" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },"user" : {"oneOf" : [ {"type" : "object",@@ -29161,9 +29177,18 @@}, {"type" : "null"} ]+ },+ "forked_from_conversation_id" : {+ "oneOf" : [ {+ "description" : "value must be a valid UUID.",+ "type" : "string",+ "pattern" : "[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}"+ }, {+ "type" : "null"+ } ]}},- "required" : [ "conversation_id", "created_at", "title", "user", "message_count", "total_tokens", "profile_id", "slack_permalink", "messages", "queries", "search_count", "query_count", "ip_address", "embedding_hostname", "embedding_path", "user_agent", "sanitized_user_agent", "feedback" ]+ "required" : [ "conversation_id", "created_at", "title", "user", "message_count", "total_tokens", "profile_id", "slack_permalink", "messages", "queries", "search_count", "query_count", "ip_address", "embedding_hostname", "embedding_path", "user_agent", "sanitized_user_agent", "forked_from_conversation_id", "fork_boundary_message_id", "feedback" ]}}}@@ -29229,6 +29254,122 @@"tags" : [ "/api/ee/metabot" ]}},+ "/api/ee/mfa/admin/enrolled-users" : {+ "get" : {+ "operationId" : "get-api-ee-mfa-admin-enrolled-users",+ "summary" : "GET /api/ee/mfa/admin/enrolled-users",+ "description" : "Admin: users who have a confirmed second factor. Never feature-gated, for the same reason\n `/admin/remove` isn't — after a licence lapse an admin must still be able to find and unlock a\n locked-out user.\n\n Takes `limit`/`offset` for pagination, and `query` to search on first name, last name, and email.",+ "parameters" : [ {+ "in" : "query",+ "name" : "query",+ "required" : false,+ "schema" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ }+ } ],+ "responses" : {+ "2XX" : {+ "description" : "Successful response",+ "content" : {+ "application/json" : {+ "schema" : {+ "type" : "object",+ "properties" : {+ "data" : {+ "type" : "array",+ "items" : {+ "type" : "object",+ "properties" : {+ "sso_source" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "is_active" : {+ "type" : "boolean"+ },+ "id" : {+ "description" : "value must be an integer greater than zero.",+ "type" : "integer",+ "minimum" : 1+ },+ "email" : {+ "type" : "string",+ "minLength" : 1+ },+ "is_superuser" : {+ "type" : "boolean"+ },+ "last_name" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "first_name" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "enrolled_at" : {+ "oneOf" : [ {+ "type" : "string",+ "format" : "date-time"+ }, {+ "type" : "null"+ } ]+ },+ "common_name" : {+ "type" : "string"+ }+ },+ "required" : [ "id", "email", "first_name", "last_name", "common_name", "sso_source", "is_active", "is_superuser", "enrolled_at" ],+ "additionalProperties" : false+ }+ },+ "limit" : {+ "oneOf" : [ {+ "type" : "integer"+ }, {+ "type" : "null"+ } ]+ },+ "offset" : {+ "oneOf" : [ {+ "type" : "integer"+ }, {+ "type" : "null"+ } ]+ },+ "total" : {+ "type" : "integer"+ }+ },+ "required" : [ "data", "total", "limit", "offset" ],+ "additionalProperties" : false+ }+ }+ }+ },+ "4XX" : {+ "description" : "Client error response"+ },+ "5XX" : {+ "description" : "Server error response"+ }+ },+ "tags" : [ "/api/ee/mfa" ]+ }+ },"/api/ee/mfa/admin/overview" : {"get" : {"operationId" : "get-api-ee-mfa-admin-overview",@@ -29305,6 +29446,114 @@"tags" : [ "/api/ee/mfa" ]}},+ "/api/ee/mfa/admin/unenrolled-users" : {+ "get" : {+ "operationId" : "get-api-ee-mfa-admin-unenrolled-users",+ "summary" : "GET /api/ee/mfa/admin/unenrolled-users",+ "description" : "Admin: active users who have not set up a second factor. Matches `unenrolled_count` from\n `/admin/overview`, so people who sign in through SSO are included even though the login gate never\n challenges them — their identity provider owns MFA. Never feature-gated, as above.\n\n Takes `limit`/`offset` for pagination, and `query` to search on first name, last name, and email.",+ "parameters" : [ {+ "in" : "query",+ "name" : "query",+ "required" : false,+ "schema" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ }+ } ],+ "responses" : {+ "2XX" : {+ "description" : "Successful response",+ "content" : {+ "application/json" : {+ "schema" : {+ "type" : "object",+ "properties" : {+ "data" : {+ "type" : "array",+ "items" : {+ "type" : "object",+ "properties" : {+ "common_name" : {+ "type" : "string"+ },+ "email" : {+ "type" : "string",+ "minLength" : 1+ },+ "first_name" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "id" : {+ "description" : "value must be an integer greater than zero.",+ "type" : "integer",+ "minimum" : 1+ },+ "is_active" : {+ "type" : "boolean"+ },+ "is_superuser" : {+ "type" : "boolean"+ },+ "last_name" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "sso_source" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ }+ },+ "required" : [ "id", "email", "first_name", "last_name", "common_name", "sso_source", "is_active", "is_superuser" ],+ "additionalProperties" : false+ }+ },+ "limit" : {+ "oneOf" : [ {+ "type" : "integer"+ }, {+ "type" : "null"+ } ]+ },+ "offset" : {+ "oneOf" : [ {+ "type" : "integer"+ }, {+ "type" : "null"+ } ]+ },+ "total" : {+ "type" : "integer"+ }+ },+ "required" : [ "data", "total", "limit", "offset" ],+ "additionalProperties" : false+ }+ }+ }+ },+ "4XX" : {+ "description" : "Client error response"+ },+ "5XX" : {+ "description" : "Server error response"+ }+ },+ "tags" : [ "/api/ee/mfa" ]+ }+ },"/api/ee/mfa/disable" : {"post" : {"operationId" : "post-api-ee-mfa-disable",@@ -36896,6 +37145,15 @@"type" : "string","format" : "date-time"},+ "forked_from_conversation_id" : {+ "oneOf" : [ {+ "description" : "value must be a valid UUID.",+ "type" : "string",+ "pattern" : "[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}"+ }, {+ "type" : "null"+ } ]+ },"last_message_at" : {"oneOf" : [ {"type" : "string",@@ -36933,7 +37191,7 @@} ]}},- "required" : [ "conversation_id", "created_at", "title", "user_id", "profile_id", "message_count", "last_message_at" ]+ "required" : [ "conversation_id", "created_at", "title", "user_id", "profile_id", "message_count", "last_message_at", "forked_from_conversation_id" ]}},"limit" : {@@ -36999,6 +37257,123 @@"type" : "string","format" : "date-time"},+ "forked_from_conversation_id" : {+ "oneOf" : [ {+ "description" : "value must be a valid UUID.",+ "type" : "string",+ "pattern" : "[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}"+ }, {+ "type" : "null"+ } ]+ },+ "messages" : {+ "type" : "array",+ "items" : {+ "type" : "object",+ "properties" : { }+ }+ },+ "saved_entities" : {+ "type" : "array",+ "items" : {+ "type" : "object",+ "properties" : {+ "card_id" : {+ "description" : "value must be an integer greater than zero.",+ "type" : "integer",+ "minimum" : 1+ },+ "chart_id" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ }+ },+ "required" : [ "card_id", "chart_id" ]+ }+ },+ "state" : {+ "oneOf" : [ {+ "$ref" : "#/components/schemas/metabase.metabot.schema.state"+ }, {+ "type" : "null"+ } ]+ },+ "title" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "user_id" : {+ "oneOf" : [ {+ "description" : "value must be an integer greater than zero.",+ "type" : "integer",+ "minimum" : 1+ }, {+ "type" : "null"+ } ]+ }+ },+ "required" : [ "conversation_id", "created_at", "title", "user_id", "forked_from_conversation_id", "saved_entities", "messages" ]+ }+ }+ }+ },+ "4XX" : {+ "description" : "Client error response"+ },+ "5XX" : {+ "description" : "Server error response"+ }+ },+ "tags" : [ "/api/metabot/conversations" ]+ }+ },+ "/api/metabot/conversations/{id}/fork" : {+ "post" : {+ "operationId" : "post-api-metabot-conversations-id-fork",+ "summary" : "POST /api/metabot/conversations/{id}/fork",+ "description" : "Fork a conversation at an assistant message, returning a brand-new conversation\n that copies the thread from the start up to and including that message.\n\n Only the conversation's originator may fork it, for now. `message_id` is the\n `external_id` of the message to fork at, which must be a live, finished,\n non-errored assistant message. The clone gets fresh conversation/message ids,\n fresh timestamps, the current user as owner, and zeroed token usage so the fork\n does not double-count tokens in the analytics views.",+ "parameters" : [ {+ "in" : "path",+ "name" : "id",+ "required" : true,+ "schema" : {+ "type" : "string",+ "pattern" : "[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}"+ },+ "description" : "value must be a valid UUID."+ } ],+ "responses" : {+ "2XX" : {+ "description" : "Successful response",+ "content" : {+ "application/json" : {+ "schema" : {+ "type" : "object",+ "properties" : {+ "conversation_id" : {+ "description" : "value must be a valid UUID.",+ "type" : "string",+ "pattern" : "[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}"+ },+ "created_at" : {+ "type" : "string",+ "format" : "date-time"+ },+ "forked_from_conversation_id" : {+ "oneOf" : [ {+ "description" : "value must be a valid UUID.",+ "type" : "string",+ "pattern" : "[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}"+ }, {+ "type" : "null"+ } ]+ },"messages" : {"type" : "array","items" : {@@ -37051,7 +37426,7 @@} ]}},- "required" : [ "conversation_id", "created_at", "title", "user_id", "saved_entities", "messages" ]+ "required" : [ "conversation_id", "created_at", "title", "user_id", "forked_from_conversation_id", "saved_entities", "messages" ]}}}@@ -37063,6 +37438,23 @@"description" : "Server error response"}},+ "requestBody" : {+ "content" : {+ "application/json" : {+ "schema" : {+ "type" : "object",+ "properties" : {+ "message_id" : {+ "description" : "value must be a valid UUID.",+ "type" : "string",+ "pattern" : "[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}"+ }+ },+ "required" : [ "message_id" ]+ }+ }+ }+ },"tags" : [ "/api/metabot/conversations" ]}},@@ -38796,7 +39188,7 @@"post" : {"operationId" : "post-api-metric-id-dimension-dimension-key","summary" : "POST /api/metric/{id}/dimension/{dimension-key}",- "description" : "Update a metric dimension's `display_name`, `description`, and/or source column.\n\n `source` is a `{type, field-id}`; the new column must have the same effective type.",+ "description" : "Update a metric dimension's `display_name`, `description`, `default_temporal_unit`, and/or source\n column.\n\n `source` is a `{type, field-id}`; the new column must have the same effective type.","parameters" : [ {"in" : "path","name" : "id",@@ -38841,6 +39233,10 @@"schema" : {"type" : "object","properties" : {+ "default_temporal_unit" : {+ "type" : "string",+ "minLength" : 1+ },"description" : {"oneOf" : [ {"type" : "string"diff --git a/docs/configuring-metabase/config-template.md b/docs/configuring-metabase/config-template.mdindex 213e30eb24e..bc5982bd8b5 100644--- a/docs/configuring-metabase/config-template.md+++ b/docs/configuring-metabase/config-template.md@@ -70,7 +70,6 @@ config:admin-email: nullaggregated-query-row-limit: nullai-features-enabled: true- ai-usage-max-retention-days: nullallowed-iframe-hosts: |-youtube.com,youtu.be,@@ -105,7 +104,6 @@ config:application-name: Metabaseattachment-row-limit: nullattachment-table-row-limit: 20- audit-max-retention-days: nullbcc-enabled: truebreakout-bin-width: 10.0breakout-bins-num: 8@@ -170,7 +168,6 @@ config:http-channel-host-strategy: external-onlyhumanization-strategy: simpleindex-update-thread-count: 2- install-analytics-database: truejdbc-data-warehouse-connection-pool-checkout-timeout-ms: 0jdbc-data-warehouse-connection-pool-max-pending-checkouts: 0jdbc-data-warehouse-max-connection-pool-size: 15@@ -230,7 +227,6 @@ config:llm-rate-limit-per-ip: 100llm-rate-limit-per-user: 20llm-request-timeout-ms: 60000- load-analytics-content: trueloading-message: doing-sciencelogin-page-illustration: defaultlogin-page-illustration-custom: null@@ -252,7 +248,6 @@ config:not-behind-proxy: falsenotification-link-base-url: nullnotification-system-event-thread-pool-size: 5- notification-temp-file-size-max-bytes: 10485760notification-thread-pool-size: 3oidc-allowed-networks: allow-alloidc-providers: []@@ -307,7 +302,6 @@ config:sdk-encryption-validation-key: nullsearch-language: nullsearch-typeahead-enabled: true- send-email-on-first-login-from-new-device: truesend-new-sso-user-admin-email: nullsession-cookie-samesite: laxsession-cookies: null@@ -315,7 +309,6 @@ config:setup-embedding-autoenabled: falsesetup-license-active-at-setup: falseshow-database-syncing-modal: null- show-google-sheets-integration: nullshow-homepage-data: trueshow-homepage-xrays: trueshow-metabase-links: truediff --git a/docs/configuring-metabase/environment-variables.md b/docs/configuring-metabase/environment-variables.mdindex 8402d21cf1f..dd13bf8162c 100644--- a/docs/configuring-metabase/environment-variables.md+++ b/docs/configuring-metabase/environment-variables.md@@ -85,7 +85,7 @@ Whether AI features are enabled.- Type: integer- Default: `null`- [Exported as](../installation-and-operation/serialization.md): `ai-usage-max-retention-days`.-- [Configuration file name](./config-file.md): `ai-usage-max-retention-days`+- Environment variable only: you can't set this in the Admin settings or in a [configuration file](./config-file.md).Number of days to retain rows in the ai_usage_log, metabot_conversation, and metabot_message tables. Minimum value is 30; set to 0 to retain data indefinitely.@@ -294,6 +294,7 @@ Range: 1-100. To limit the total number of rows included in the file attachment- Type: string- Default: `null`+- Environment variable only: you can't set this in the Admin settings or in a [configuration file](./config-file.md).Number of days to retain data in audit-related tables. Minimum value is 30; set to 0 to retain data indefinitely.@@ -903,6 +904,7 @@ Number of threads to use for batched index updates, including embedding requests- Type: boolean- Default: `true`+- Environment variable only: you can't set this in the Admin settings or in a [configuration file](./config-file.md).Whether or not we should install the Metabase analytics database on startup. Defaults to true, but can be disabledvia environmment variable.@@ -1451,6 +1453,7 @@ Socket timeout in milliseconds for LLM API requests.- Type: boolean- Default: `true`+- Environment variable only: you can't set this in the Admin settings or in a [configuration file](./config-file.md).Whether or not we should load Metabase analytics content on startup. Defaults to match `install-analytics-database`,which defaults to true, but can be disabled via environment variable.@@ -1653,6 +1656,7 @@ The size of the thread pool used to send system event notifications.- Type: integer- Default: `10485760`+- Environment variable only: you can't set this in the Admin settings or in a [configuration file](./config-file.md).The maximum file size that will be created when storing notification query results on disk.Note this is in BYTES. Default value is 10485760 which is `10 * 1024 * 1024`. To disable this size limit set the@@ -2144,6 +2148,7 @@ Enable typeahead search in the Metabase navbar?- Type: boolean- Default: `true`+- Environment variable only: you can't set this in the Admin settings or in a [configuration file](./config-file.md).Should we send users a notification email the first time they log in from a new device? (Default: true). This iscurrently only configurable via environment variable so users who gain access to an admin's credentials cannot@@ -2224,7 +2229,7 @@ Whether an introductory modal should be shown after the next database connection- Type: boolean- Default: `null`-- [Configuration file name](./config-file.md): `show-google-sheets-integration`+- Environment variable only: you can't set this in the Admin settings or in a [configuration file](./config-file.md).Whether or not to show the user a button that sets up Google Sheets integration.