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
Update generated docs (master) (#66451)
github-automation-metabase5009187cc3ae
diff --git a/docs/api.json b/docs/api.jsonindex 5cd5c8acc7c..bd0c1cf16da 100644--- a/docs/api.json+++ b/docs/api.json@@ -3432,12 +3432,104 @@"enum" : [ "none", "global-schedule" ]},"metabase-enterprise.transforms.api.transform-source" : {+ "$ref" : "#/components/schemas/metabase-enterprise.transforms.schema.transform-source"+ },+ "metabase-enterprise.transforms.api.transform-target" : {+ "$ref" : "#/components/schemas/metabase-enterprise.transforms.schema.transform-target"+ },+ "metabase-enterprise.transforms.schema.append-config" : {+ "type" : "object",+ "properties" : {+ "type" : {+ "const" : "append"+ }+ },+ "required" : [ "type" ]+ },+ "metabase-enterprise.transforms.schema.checkpoint-strategy" : {+ "type" : "object",+ "properties" : {+ "checkpoint-filter" : {+ "type" : "string"+ },+ "checkpoint-filter-unique-key" : {+ "$ref" : "#/components/schemas/metabase.lib.metadata.column.column-unique-key"+ },+ "type" : {+ "const" : "checkpoint"+ }+ },+ "required" : [ "type" ]+ },+ "metabase-enterprise.transforms.schema.source-incremental-strategy" : {+ "oneOf" : [ {+ "$ref" : "#/components/schemas/metabase-enterprise.transforms.schema.checkpoint-strategy"+ } ]+ },+ "metabase-enterprise.transforms.schema.table-incremental-target" : {+ "type" : "object",+ "properties" : {+ "database" : {+ "type" : "integer"+ },+ "name" : {+ "type" : "string"+ },+ "schema" : {+ "anyOf" : [ {+ "type" : "string",+ "minLength" : 1+ }, {+ "type" : "null"+ } ]+ },+ "target-incremental-strategy" : {+ "$ref" : "#/components/schemas/metabase-enterprise.transforms.schema.target-incremental-strategy"+ },+ "type" : {+ "const" : "table-incremental"+ }+ },+ "required" : [ "type", "name", "target-incremental-strategy" ]+ },+ "metabase-enterprise.transforms.schema.table-target" : {+ "type" : "object",+ "properties" : {+ "database" : {+ "type" : "integer"+ },+ "name" : {+ "type" : "string"+ },+ "schema" : {+ "anyOf" : [ {+ "type" : "string",+ "minLength" : 1+ }, {+ "type" : "null"+ } ]+ },+ "type" : {+ "const" : "table"+ }+ },+ "required" : [ "type", "name" ]+ },+ "metabase-enterprise.transforms.schema.target-incremental-strategy" : {+ "oneOf" : [ {+ "$ref" : "#/components/schemas/metabase-enterprise.transforms.schema.append-config"+ } ]+ },+ "metabase-enterprise.transforms.schema.transform-source" : {"oneOf" : [ {"type" : "object","properties" : {"query" : {"$ref" : "#/components/schemas/metabase.queries.schema.query"},+ "source-incremental-strategy" : {+ "$ref" : "#/components/schemas/metabase-enterprise.transforms.schema.source-incremental-strategy"+ },"type" : {"const" : "query"}@@ -3452,6 +3544,9 @@"source-database" : {"type" : "integer"},+ "source-incremental-strategy" : {+ "$ref" : "#/components/schemas/metabase-enterprise.transforms.schema.source-incremental-strategy"+ },"source-tables" : {"type" : "object","additionalProperties" : {@@ -3462,33 +3557,15 @@"const" : "python"}},- "required" : [ "source-tables", "type", "body" ],- "additionalProperties" : false+ "required" : [ "source-tables", "type", "body" ]} ]},- "metabase-enterprise.transforms.api.transform-target" : {- "type" : "object",- "properties" : {- "database" : {- "type" : "integer"- },- "name" : {- "type" : "string"- },- "schema" : {- "anyOf" : [ {- "type" : "string",- "minLength" : 1- }, {- "type" : "null"- } ]- },- "type" : {- "type" : "string",- "enum" : [ "table" ]- }- },- "required" : [ "type", "name" ]+ "metabase-enterprise.transforms.schema.transform-target" : {+ "oneOf" : [ {+ "$ref" : "#/components/schemas/metabase-enterprise.transforms.schema.table-target"+ }, {+ "$ref" : "#/components/schemas/metabase-enterprise.transforms.schema.table-incremental-target"+ } ]},"metabase.actions.schema..action.for-insert" : {"description" : "Schema for inserting a new Action (REST API or internally).",@@ -6184,6 +6261,10 @@"description" : "schema for a valid MBQL 4 :var clause","allOf" : [ ]},+ "metabase.lib.metadata.column.column-unique-key" : {+ "type" : "string",+ "pattern" : "^column-unique-key-v\\d+\\$.+$"+ },"metabase.lib.metadata.protocols.metadata-provider" : {"description" : "Schema for something that satisfies the [[metabase.lib.metadata.protocols/MetadataProvider]] protocol."},@@ -9352,6 +9433,19 @@"description" : "A single result metadata column as returned by the Query Processor.","$ref" : "#/components/schemas/metabase.legacy-mbql.schema.legacy-column-metadata"},+ "metabase.query-processor.schema.any-query" : {+ "description" : "Schema for a map that is in the general shape of either a legacy MBQL or MBQL 5 query. Query may not be normalized\n yet!\n\n This schema is not very strict because we need to handle different types of queries (legacy MBQL, pMBQL,\n super-legacy MBQL, internal audit app queries, etc.) and it might not be normalized yet.",+ "type" : "object",+ "properties" : {+ "database" : {+ "anyOf" : [ {+ "$ref" : "#/components/schemas/metabase.lib.schema.id.database"+ }, {+ "$ref" : "#/components/schemas/metabase.lib.schema.id.saved-questions-virtual-database"+ } ]+ }+ }+ },"metabase.query-processor.schema.export-format" : {"description" : "Schema for valid export formats for downloading query results.","type" : "string",@@ -22192,7 +22286,7 @@"$ref" : "#/components/schemas/metabase-enterprise.transforms.api.run-trigger"},"source" : {- "$ref" : "#/components/schemas/metabase-enterprise.transforms.api.transform-source"+ "$ref" : "#/components/schemas/metabase-enterprise.transforms.schema.transform-source"},"tag_ids" : {"type" : "array",@@ -22203,7 +22297,7 @@}},"target" : {- "$ref" : "#/components/schemas/metabase-enterprise.transforms.api.transform-target"+ "$ref" : "#/components/schemas/metabase-enterprise.transforms.schema.transform-target"}},"required" : [ "name", "source", "target" ]@@ -22214,6 +22308,74 @@"tags" : [ "/api/ee/transform" ]}},+ "/api/ee/transform/extract-columns" : {+ "post" : {+ "summary" : "POST /api/ee/transform/extract-columns",+ "description" : "Extract column names from an MBQL query without executing it.\n\n Compiles the query to native SQL using [[qp.compile/compile-with-inline-parameters]],\n which handles parameterized queries with template tags. Then extracts column names\n using PreparedStatement metadata.\n\n Returns a map with a :columns key containing a vector of column names (strings).\n If extraction fails, returns nil for :columns.",+ "parameters" : [ ],+ "responses" : {+ "2XX" : {+ "description" : "Successful response"+ },+ "4XX" : {+ "description" : "Client error response"+ },+ "5XX" : {+ "description" : "Server error response"+ }+ },+ "requestBody" : {+ "content" : {+ "application/json" : {+ "schema" : {+ "type" : "object",+ "properties" : {+ "query" : {+ "$ref" : "#/components/schemas/metabase.query-processor.schema.any-query"+ }+ },+ "required" : [ "query" ]+ }+ }+ }+ },+ "tags" : [ "/api/ee/transform" ]+ }+ },+ "/api/ee/transform/is-simple-query" : {+ "post" : {+ "summary" : "POST /api/ee/transform/is-simple-query",+ "description" : "Checks if a native SQL query string is simple enough for automatic checkpoint insertion",+ "parameters" : [ ],+ "responses" : {+ "2XX" : {+ "description" : "Successful response"+ },+ "4XX" : {+ "description" : "Client error response"+ },+ "5XX" : {+ "description" : "Server error response"+ }+ },+ "requestBody" : {+ "content" : {+ "application/json" : {+ "schema" : {+ "type" : "object",+ "properties" : {+ "query" : {+ "type" : "string"+ }+ },+ "required" : [ "query" ]+ }+ }+ }+ },+ "tags" : [ "/api/ee/transform" ]+ }+ },"/api/ee/transform/run" : {"get" : {"summary" : "GET /api/ee/transform/run",@@ -22378,7 +22540,7 @@"$ref" : "#/components/schemas/metabase-enterprise.transforms.api.run-trigger"},"source" : {- "$ref" : "#/components/schemas/metabase-enterprise.transforms.api.transform-source"+ "$ref" : "#/components/schemas/metabase-enterprise.transforms.schema.transform-source"},"tag_ids" : {"type" : "array",@@ -22389,7 +22551,7 @@}},"target" : {- "$ref" : "#/components/schemas/metabase-enterprise.transforms.api.transform-target"+ "$ref" : "#/components/schemas/metabase-enterprise.transforms.schema.transform-target"}}}diff --git a/docs/configuring-metabase/environment-variables.md b/docs/configuring-metabase/environment-variables.mdindex ba78c6fedf2..43307725cd0 100644--- a/docs/configuring-metabase/environment-variables.md+++ b/docs/configuring-metabase/environment-variables.md@@ -1976,29 +1976,6 @@ Since: v35.0Maximum number of async Jetty threads. If not set, then [MB_JETTY_MAXTHREADS](#mb_jetty_maxthreads) will be used, otherwise it will use the default.-### `MB_ATTACHMENT_TABLE_ROW_LIMIT`--Type: integer<br>-Default: `20`<br>--Limits the number of rows Metabase will display in tables sent with dashboard subscriptions and alerts. Range: 1-100. To limit the total number of rows included in the file attachment for an email dashboard subscription, use [MB_ATTACHMENT_ROW_LIMIT](#mb_attachment_row_limit).--### `MB_AUDIT_MAX_RETENTION_DAYS`--Only available on Metabase [Pro](https://www.metabase.com/product/pro) and [Enterprise](https://www.metabase.com/product/enterprise) plans.<br>-Type: integer<br>-Default: 720 (Metabase keeps all rows)<br>--Sets the maximum number of days Metabase preserves rows for the following application database tables:--- `query_execution`-- `audit_log`-- `view_log`--Twice a day, Metabase will delete 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_COLORIZE_LOGS`Type: boolean<br>@@ -2275,21 +2252,6 @@ Default: `null`Password for Java TrustStore file.-### `MB_LANDING_PAGE`--Only available on Metabase [Pro](https://www.metabase.com/product/pro) and [Enterprise](https://www.metabase.com/product/enterprise) plans.<br>-Type: string<br>-Default: `""`--Default page to show people when they log in.--### `MB_LOAD_ANALYTICS_CONTENT`--Type: Boolean<br>-Default: True--If you want to exclude the [Metabase analytics](../usage-and-performance-tools/usage-analytics.md) collection, you can set `MB_LOAD_ANALYTICS_CONTENT=false`. Setting this environment variable to false can also come in handy when migrating environments, as it can simplify the migration process.-### `MB_LOAD_SAMPLE_CONTENT`Type: Boolean<br>@@ -2348,13 +2310,6 @@ Path of the "plugins" directory, which is used to store the Metabase database drThe location is where custom third-party drivers should be added. Then Metabase will load the driver on startup, which can be verified in the log.-### `MB_PREMIUM_EMBEDDING_TOKEN`--Type: string<br>-Default: `null`--The license token used for Pro and Enterprise to enable premium features on the Enterprise edition. It is also used for the deprecated "Premium Embedding" functionality on the OSS edition.-### `MB_QP_CACHE_BACKEND`Type: string<br>@@ -2362,32 +2317,6 @@ Default: `"db"`Current cache backend. Dynamically rebindable primarily for test purposes.-### `MB_SEARCH_TYPEAHEAD_ENABLED`--Type: boolean<br>-Default: `true`<br>-Since: v39.0--Show auto-suggestions when using the global search in the top navigation bar.--### `MB_SEND_EMAIL_ON_FIRST_LOGIN_FROM_NEW_DEVICE`--Type: boolean<br>-Default: `true`<br>-Since: v39.0--Send email notification to user, when they login from a new device. Set to `false` to stop sending "We've noticed a new login on your Metabase account" emails for all users.--Also, this variable controls the geocoding service that Metabase uses to know the location from where your users logged in. Setting this variable to false also disables this reverse geocoding functionality.--### `MB_SEND_NEW_SSO_USER_ADMIN_EMAIL`--Only available on Metabase [Pro](https://www.metabase.com/product/pro) and [Enterprise](https://www.metabase.com/product/enterprise) plans.<br>-Type: boolean<br>-Default: `true`--Send email notifications to users in Admin group, when a new SSO users is created on Metabase.-### `MB_SETUP_TOKEN`Type: string<br>@@ -2412,13 +2341,6 @@ Since: v48.4Setting `MB_JETTY_SKIP_SNI=true` (the default setting) turns off the Server Name Indication (SNI) checks in the Jetty web server. Normally you would leave this enabled. If, however, you're terminating the Transport Layer Security (TLS) connection on Metabase itself, and you're getting an error like `HTTP ERROR 400 Invalid SNI`, consider either setting `MB_JETTY_SKIP_SNI=false`, or use another SSL certificate that exactly matches the domain name of the server.-### `MB_SOURCE_ADDRESS_HEADER`--Type: string<br>-Default: `X-Forwarded-For`--Identify the source of HTTP requests by this header's value, instead of its remote address. Related to [MB_DISABLE_SESSION_THROTTLE](#mb_disable_session_throttle).-### `MB_SSL_CERTIFICATE_PUBLIC_KEY`Type: string<br>