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 (#74039)
github-automation-metabase2c489af1f134
diff --git a/docs/api.json b/docs/api.jsonindex 0bd6cea5f49..05053132034 100644--- a/docs/api.json+++ b/docs/api.json@@ -1167,6 +1167,39 @@"$ref" : "#/components/schemas/metabase-enterprise.action-v2.api.api-action-expression"} ]},+ "metabase-enterprise.data-studio.api.table.publish-table-selectors" : {+ "type" : "object",+ "properties" : {+ "collection_id" : {+ "description" : "value must be an integer greater than zero.",+ "type" : "integer",+ "minimum" : 1+ },+ "database_ids" : {+ "type" : "array",+ "items" : {+ "description" : "value must be an integer greater than zero.",+ "type" : "integer",+ "minimum" : 1+ }+ },+ "schema_ids" : {+ "type" : "array",+ "items" : {+ "type" : "string"+ }+ },+ "table_ids" : {+ "type" : "array",+ "items" : {+ "description" : "value must be an integer greater than zero.",+ "type" : "integer",+ "minimum" : 1+ }+ }+ },+ "required" : [ "collection_id" ]+ },"metabase-enterprise.data-studio.api.table.publish-tables-response" : {"description" : "Schema for /publish-tables endpoint response. Matches frontend PublishTablesResponse type.","type" : "object",@@ -26567,7 +26600,7 @@"content" : {"application/json" : {"schema" : {- "$ref" : "#/components/schemas/metabase-enterprise.data-studio.api.table.table-selectors"+ "$ref" : "#/components/schemas/metabase-enterprise.data-studio.api.table.publish-table-selectors"}}}@@ -30896,9 +30929,9 @@}},"/api/ee/serialization/metadata/export" : {- "get" : {- "operationId" : "get-api-ee-serialization-metadata-export",- "summary" : "GET /api/ee/serialization/metadata/export",+ "post" : {+ "operationId" : "post-api-ee-serialization-metadata-export",+ "summary" : "POST /api/ee/serialization/metadata/export","description" : "Get warehouse metadata (databases, tables, and fields) for all databases visible to the\n current user. References between rows are emitted as raw numeric ids (`db_id`,\n `table_id`, `parent_id`, `fk_target_field_id`).\n\n Sections must be opted into with the `with-databases`, `with-tables`, and `with-fields`\n query parameters — they all default to `false`. The response is streamed for efficiency\n with large schemas.\n\n Requires `View data` → `Can view` and `Create queries` → `Query builder only` (or\n `Query builder and native`) permissions on each database and table.","parameters" : [ {"in" : "query",@@ -42761,6 +42794,15 @@"type" : "null"} ]},+ "collection_id" : {+ "oneOf" : [ {+ "description" : "value must be an integer greater than zero.",+ "type" : "integer",+ "minimum" : 1+ }, {+ "type" : "null"+ } ]+ },"data_source" : {"oneOf" : [ {"type" : "string"@@ -45179,6 +45221,9 @@}},"created_at" : { },+ "active" : {+ "type" : "boolean"+ },"description" : {"oneOf" : [ {"anyOf" : [ {@@ -45191,7 +45236,7 @@} ]}},- "required" : [ "id", "name", "description", "schedule", "ui_display_type", "entity_id", "created_at", "updated_at" ],+ "required" : [ "id", "name", "description", "schedule", "ui_display_type", "active", "entity_id", "created_at", "updated_at" ],"additionalProperties" : false}}@@ -45418,6 +45463,9 @@}},"created_at" : { },+ "active" : {+ "type" : "boolean"+ },"description" : {"oneOf" : [ {"anyOf" : [ {@@ -45430,7 +45478,7 @@} ]}},- "required" : [ "id", "name", "description", "schedule", "ui_display_type", "entity_id", "created_at", "updated_at" ],+ "required" : [ "id", "name", "description", "schedule", "ui_display_type", "active", "entity_id", "created_at", "updated_at" ],"additionalProperties" : false}}@@ -45447,6 +45495,58 @@"tags" : [ "/api/transform-job" ]}},+ "/api/transform-job/active" : {+ "put" : {+ "operationId" : "put-api-transform-job-active",+ "summary" : "PUT /api/transform-job/active",+ "description" : "Activate or deactivate every transform job. Inactive jobs do not run on schedule. Manual runs\n via `POST /api/transform-job/:job-id/run` ignore this flag.\n\n Reports per-job outcome counts: `:updated` (successfully flipped) and `:failed` (raised an\n error during the flip — the row update or Quartz write failed and was logged).",+ "parameters" : [ ],+ "responses" : {+ "2XX" : {+ "description" : "Successful response",+ "content" : {+ "application/json" : {+ "schema" : {+ "type" : "object",+ "properties" : {+ "failed" : {+ "type" : "integer"+ },+ "updated" : {+ "type" : "integer"+ }+ },+ "required" : [ "updated", "failed" ],+ "additionalProperties" : false+ }+ }+ }+ },+ "4XX" : {+ "description" : "Client error response"+ },+ "5XX" : {+ "description" : "Server error response"+ }+ },+ "requestBody" : {+ "content" : {+ "application/json" : {+ "schema" : {+ "type" : "object",+ "properties" : {+ "active" : {+ "type" : "boolean"+ }+ },+ "required" : [ "active" ]+ }+ }+ }+ },+ "tags" : [ "/api/transform-job" ]+ }+ },"/api/transform-job/{job-id}" : {"put" : {"operationId" : "put-api-transform-job-job-id",@@ -45571,6 +45671,9 @@}},"created_at" : { },+ "active" : {+ "type" : "boolean"+ },"description" : {"oneOf" : [ {"anyOf" : [ {@@ -45583,7 +45686,7 @@} ]}},- "required" : [ "id", "name", "description", "schedule", "ui_display_type", "entity_id", "created_at", "updated_at" ],+ "required" : [ "id", "name", "description", "schedule", "ui_display_type", "active", "entity_id", "created_at", "updated_at" ],"additionalProperties" : false}}@@ -45602,6 +45705,9 @@"schema" : {"type" : "object","properties" : {+ "active" : {+ "type" : "boolean"+ },"description" : {"oneOf" : [ {"type" : "string",@@ -45787,6 +45893,9 @@}},"created_at" : { },+ "active" : {+ "type" : "boolean"+ },"description" : {"oneOf" : [ {"anyOf" : [ {@@ -45799,7 +45908,7 @@} ]}},- "required" : [ "id", "name", "description", "schedule", "ui_display_type", "entity_id", "created_at", "updated_at" ],+ "required" : [ "id", "name", "description", "schedule", "ui_display_type", "active", "entity_id", "created_at", "updated_at" ],"additionalProperties" : false}}diff --git a/docs/configuring-metabase/config-template.md b/docs/configuring-metabase/config-template.mdindex 6e3b834b32f..eff64e047ba 100644--- a/docs/configuring-metabase/config-template.md+++ b/docs/configuring-metabase/config-template.md@@ -70,6 +70,7 @@ config:admin-email: nullaggregated-query-row-limit: nullai-features-enabled: true+ ai-usage-max-retention-days: nullallowed-iframe-hosts: |-youtube.com,youtu.be,diff --git a/docs/configuring-metabase/environment-variables.md b/docs/configuring-metabase/environment-variables.mdindex fcff3ec7ee6..3813aaf49f6 100644--- a/docs/configuring-metabase/environment-variables.md+++ b/docs/configuring-metabase/environment-variables.md@@ -80,6 +80,18 @@ Must be less than 1048575. See also MB_UNAGGREGATED_QUERY_ROW_LIMIT.Whether AI features are enabled.+### `MB_AI_USAGE_MAX_RETENTION_DAYS`++- Type: string+- Default: `null`++Number of days to retain rows in the ai_usage_log table. Minimum value is 30; set to 0 to retain data indefinitely.++Sets the maximum number of days Metabase preserves rows in the `ai_usage_log` table.++Once a day, Metabase deletes rows older than this threshold. The minimum value is 30 days (Metabase will treat entered values of 1 to 29 the same as 30).+If set to 0, Metabase will keep all rows.+### `MB_ALLOWED_IFRAME_HOSTS`- Type: string