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 (#83293)

github-automation-metabase2d79e7591752
diff --git a/docs/api.json b/docs/api.json
index ce2225e021f..b3df57b1f70 100644
--- a/docs/api.json
+++ b/docs/api.json
@@ -9969,6 +9969,9 @@
"type" : "null"
} ]
},
+ "can_delete" : {
+ "type" : "boolean"
+ },
"id" : {
"description" : "value must be an integer greater than zero.",
"type" : "integer",
@@ -10000,6 +10003,9 @@
"type" : "null"
} ]
},
+ "can_write" : {
+ "type" : "boolean"
+ },
"collection_id" : {
"oneOf" : [ {
"description" : "value must be an integer greater than zero.",
@@ -10014,6 +10020,9 @@
"type" : "null"
} ]
},
+ "can_restore" : {
+ "type" : "boolean"
+ },
"creator_id" : {
"description" : "value must be an integer greater than zero.",
"type" : "integer",
@@ -56104,168 +56113,6 @@
"tags" : [ "/api/llm" ]
}
},
- "/api/llm/generate-sql" : {
- "post" : {
- "operationId" : "post-api-llm-generate-sql",
- "summary" : "POST /api/llm/generate-sql",
- "description" : "Generate SQL from a natural language prompt.\n\n Requires:\n - LLM to be configured (Anthropic API key set in admin settings)\n - At least one table reference (explicit @mention or implicit from source_sql)\n - A database_id parameter\n\n Returns generated SQL and the list of tables used for context.",
- "parameters" : [ ],
- "responses" : {
- "2XX" : {
- "description" : "Successful response",
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "object",
- "properties" : {
- "referenced_entities" : {
- "type" : "array",
- "items" : {
- "type" : "object",
- "properties" : {
- "columns" : {
- "type" : "array",
- "items" : {
- "type" : "object",
- "properties" : {
- "database_type" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "description" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "fk_target" : {
- "type" : "object",
- "properties" : {
- "field_name" : {
- "type" : "string"
- },
- "table_name" : {
- "type" : "string"
- }
- },
- "required" : [ "table_name", "field_name" ]
- },
- "id" : {
- "type" : "integer",
- "minimum" : 1
- },
- "name" : {
- "type" : "string"
- },
- "semantic_type" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- }
- },
- "required" : [ "id", "name" ]
- }
- },
- "description" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "display_name" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- },
- "id" : {
- "type" : "integer",
- "minimum" : 1
- },
- "model" : {
- "type" : "string"
- },
- "name" : {
- "type" : "string"
- },
- "schema" : {
- "oneOf" : [ {
- "type" : "string"
- }, {
- "type" : "null"
- } ]
- }
- },
- "required" : [ "model", "id", "name", "columns" ]
- }
- },
- "sql" : {
- "type" : "string"
- }
- },
- "required" : [ "sql", "referenced_entities" ]
- }
- }
- }
- },
- "4XX" : {
- "description" : "Client error response"
- },
- "5XX" : {
- "description" : "Server error response"
- }
- },
- "requestBody" : {
- "content" : {
- "application/json" : {
- "schema" : {
- "type" : "object",
- "properties" : {
- "database_id" : {
- "type" : "integer",
- "minimum" : 1
- },
- "prompt" : {
- "type" : "string"
- },
- "referenced_entities" : {
- "type" : "array",
- "items" : {
- "type" : "object",
- "properties" : {
- "id" : {
- "type" : "integer",
- "minimum" : 1
- },
- "model" : {
- "type" : "string"
- }
- },
- "required" : [ "model", "id" ],
- "additionalProperties" : false
- }
- },
- "source_sql" : {
- "type" : "string"
- }
- },
- "required" : [ "prompt", "database_id" ],
- "additionalProperties" : false
- }
- }
- }
- },
- "tags" : [ "/api/llm" ]
- }
- },
"/api/llm/models" : {
"get" : {
"operationId" : "get-api-llm-models",
diff --git a/docs/configuring-metabase/config-template.md b/docs/configuring-metabase/config-template.md
index b803af6c8f3..05680ce971e 100644
--- a/docs/configuring-metabase/config-template.md
+++ b/docs/configuring-metabase/config-template.md
@@ -210,7 +210,6 @@ config:
license-token-missing-banner-dismissal-timestamp: []
llm-anthropic-api-base-url: https://api.anthropic.com
llm-anthropic-api-key: null
- llm-anthropic-model: claude-opus-4-5-20251101
llm-azure-api-base-url: null
llm-azure-api-key: null
llm-azure-deployment-name: null
@@ -241,8 +240,6 @@ config:
llm-openrouter-api-base-url: https://openrouter.ai/api
llm-openrouter-api-key: null
llm-providers: []
- llm-rate-limit-per-ip: 100
- llm-rate-limit-per-user: 20
llm-request-timeout-ms: 120000
llm-vllm-api-base-url: null
llm-vllm-api-key: null
diff --git a/docs/configuring-metabase/environment-variables.md b/docs/configuring-metabase/environment-variables.md
index b0844dd329b..ee75b84b8a0 100644
--- a/docs/configuring-metabase/environment-variables.md
+++ b/docs/configuring-metabase/environment-variables.md
@@ -1356,14 +1356,6 @@ The Anthropic API Key.
Backed by the anthropic connection in the admin AI settings provider list: reads and writes go through the llm-providers connection list, and a value set by this environment variable shadows this one field of that connection.
-### `MB_LLM_ANTHROPIC_MODEL`
-
-- Type: string
-- Default: `claude-opus-4-5-20251101`
-- [Configuration file name](./config-file.md): `llm-anthropic-model`
-
-The Anthropic model to use.
-
### `MB_LLM_AZURE_API_BASE_URL`
- Type: string
@@ -1653,22 +1645,6 @@ Connections are normally managed from the admin AI settings page. Setting this e
Configuring a provider through the single-provider variables (`MB_LLM_ANTHROPIC_API_KEY` and friends) is equally supported, and is the simpler option when you only need one connection per provider and would rather not hand-write JSON. Each such provider becomes a read-only connection whose key is the provider type, resolved from the environment on every read, so editing one of those variables is picked up on the next restart. A provider configured this way takes precedence over a stored connection with the same key.
-### `MB_LLM_RATE_LIMIT_PER_IP`
-
-- Type: integer
-- Default: `100`
-- [Configuration file name](./config-file.md): `llm-rate-limit-per-ip`
-
-Maximum SQL generation requests per IP address per minute.
-
-### `MB_LLM_RATE_LIMIT_PER_USER`
-
-- Type: integer
-- Default: `20`
-- [Configuration file name](./config-file.md): `llm-rate-limit-per-user`
-
-Maximum SQL generation requests per user per minute.
-
### `MB_LLM_REQUEST_TIMEOUT_MS`
- Type: integer