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 (#70840)
github-automation-metabase58cde65c4e24
diff --git a/docs/api.json b/docs/api.jsonindex 3eb1b347564..c1673ab65aa 100644--- a/docs/api.json+++ b/docs/api.json@@ -5558,226 +5558,6 @@"metabase-enterprise.support-access-grants.schema.timestamp" : {"anyOf" : [ { }, { } ]},- "metabase-enterprise.workspaces.api.appdb-or-ref-id" : {- "anyOf" : [ {- "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"- }, {- "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.ref-id"- } ]- },- "metabase-enterprise.workspaces.api.graph-edge" : {- "type" : "object",- "properties" : {- "from_entity_id" : {- "$ref" : "#/components/schemas/metabase-enterprise.workspaces.api.appdb-or-ref-id"- },- "from_entity_type" : {- "type" : "string"- },- "to_entity_id" : {- "$ref" : "#/components/schemas/metabase-enterprise.workspaces.api.appdb-or-ref-id"- },- "to_entity_type" : {- "type" : "string"- }- },- "required" : [ "from_entity_id", "from_entity_type", "to_entity_id", "to_entity_type" ]- },- "metabase-enterprise.workspaces.api.graph-node" : {- "type" : "object",- "properties" : {- "data" : {- "type" : "object",- "properties" : { }- },- "dependents_count" : {- "type" : "object",- "additionalProperties" : {- "description" : "value must be an integer greater than zero.",- "type" : "integer",- "minimum" : 1- }- },- "id" : {- "$ref" : "#/components/schemas/metabase-enterprise.workspaces.api.appdb-or-ref-id"- },- "type" : {- "type" : "string",- "enum" : [ "input-table", "external-transform", "workspace-transform" ]- }- },- "required" : [ "id", "type", "dependents_count", "data" ]- },- "metabase-enterprise.workspaces.api.graph-node-type" : {- "type" : "string",- "enum" : [ "input-table", "external-transform", "workspace-transform" ]- },- "metabase-enterprise.workspaces.api.input-table" : {- "type" : "object",- "properties" : {- "db_id" : {- "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"- },- "schema" : {- "oneOf" : [ {- "type" : "string"- }, {- "type" : "null"- } ]- },- "table" : {- "type" : "string"- },- "table_id" : {- "oneOf" : [ {- "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"- }, {- "type" : "null"- } ]- }- },- "required" : [ "db_id", "schema", "table", "table_id" ]- },- "metabase-enterprise.workspaces.api.output-table" : {- "type" : "object",- "properties" : {- "db_id" : {- "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"- },- "global" : {- "type" : "object",- "properties" : {- "schema" : {- "oneOf" : [ {- "type" : "string"- }, {- "type" : "null"- } ]- },- "table" : {- "type" : "string"- },- "table_id" : {- "oneOf" : [ {- "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"- }, {- "type" : "null"- } ]- },- "transform_id" : {- "oneOf" : [ {- "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"- }, {- "type" : "null"- } ]- }- },- "required" : [ "transform_id", "schema", "table", "table_id" ]- },- "isolated" : {- "type" : "object",- "properties" : {- "schema" : {- "type" : "string"- },- "table" : {- "type" : "string"- },- "table_id" : {- "oneOf" : [ {- "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"- }, {- "type" : "null"- } ]- },- "transform_id" : {- "anyOf" : [ {- "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.ref-id"- }, {- "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"- } ]- }- },- "required" : [ "transform_id", "schema", "table", "table_id" ]- }- },- "required" : [ "db_id", "global", "isolated" ]- },- "metabase-enterprise.workspaces.api.status" : {- "type" : "string",- "enum" : [ "archived", "ready", "broken", "pending", "uninitialized" ]- },- "metabase-enterprise.workspaces.api.transform-source" : {- "oneOf" : [ {- "type" : "object",- "properties" : {- "query" : {- "$ref" : "#/components/schemas/metabase.queries.schema.query"- },- "type" : {- "const" : "query"- }- },- "required" : [ "type", "query" ]- }, {- "type" : "object",- "properties" : {- "body" : {- "type" : "string"- },- "source-database" : {- "type" : "integer"- },- "source-tables" : {- "type" : "array",- "items" : {- "type" : "object",- "properties" : {- "alias" : {- "type" : "string",- "minLength" : 1- },- "table_id" : {- "type" : "integer"- }- },- "required" : [ "alias", "table_id" ]- }- },- "type" : {- "const" : "python"- }- },- "required" : [ "source-tables", "type", "body" ],- "additionalProperties" : false- } ]- },- "metabase-enterprise.workspaces.api.transform-target" : {- "type" : "object",- "properties" : {- "database" : {- "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"- },- "name" : {- "type" : "string",- "minLength" : 1- },- "schema" : {- "oneOf" : [ {- "type" : "string",- "minLength" : 1- }, {- "type" : "null"- } ]- },- "type" : {- "type" : "string",- "enum" : [ "table" ]- }- },- "required" : [ "type", "name" ],- "additionalProperties" : false- },"metabase-enterprise.workspaces.types.ancestors-result" : {"description" : "Result of running stale ancestor transforms.","type" : "object",@@ -17167,7 +16947,1629 @@"content" : {"application/json" : {"schema" : {- "$ref" : "#/components/schemas/metabase-enterprise.agent-api.api.table"+ "$ref" : "#/components/schemas/metabase-enterprise.agent-api.api.table"+ }+ }+ }+ },+ "4XX" : {+ "description" : "Client error response"+ },+ "5XX" : {+ "description" : "Server error response"+ }+ },+ "tags" : [ "/api/agent" ]+ }+ },+ "/api/agent/v1/table/{id}/field/{field-id}/values" : {+ "get" : {+ "operationId" : "get-api-agent-v1-table-id-field-field-id-values",+ "summary" : "GET /api/agent/v1/table/{id}/field/{field-id}/values",+ "description" : "Get statistics and sample values for a table field.",+ "parameters" : [ {+ "in" : "path",+ "name" : "id",+ "required" : true,+ "schema" : {+ "type" : "integer",+ "minimum" : 1+ },+ "description" : "value must be an integer greater than zero."+ }, {+ "in" : "path",+ "name" : "field-id",+ "required" : true,+ "schema" : {+ "type" : "string",+ "minLength" : 1+ }+ } ],+ "responses" : {+ "2XX" : {+ "description" : "Successful response",+ "content" : {+ "application/json" : {+ "schema" : {+ "$ref" : "#/components/schemas/metabase-enterprise.agent-api.api.field-values"+ }+ }+ }+ },+ "4XX" : {+ "description" : "Client error response"+ },+ "5XX" : {+ "description" : "Server error response"+ }+ },+ "tags" : [ "/api/agent" ]+ }+ },+ "/api/agent/v1/workspace/{ws-id}" : {+ "get" : {+ "operationId" : "get-api-agent-v1-workspace-ws-id",+ "summary" : "GET /api/agent/v1/workspace/{ws-id}",+ "description" : "Get a single workspace by ID.",+ "parameters" : [ {+ "in" : "path",+ "name" : "ws-id",+ "required" : true,+ "schema" : {+ "type" : "integer",+ "minimum" : 1+ },+ "description" : "value must be an integer greater than zero."+ } ],+ "responses" : {+ "2XX" : {+ "description" : "Successful response",+ "content" : {+ "application/json" : {+ "schema" : {+ "type" : "object",+ "properties" : {+ "collection_id" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"+ },+ "created_at" : {+ "type" : "string",+ "format" : "date-time"+ },+ "database_id" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"+ },+ "id" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"+ },+ "name" : {+ "type" : "string"+ },+ "status" : {+ "type" : "string",+ "enum" : [ "archived", "ready", "broken", "pending", "uninitialized" ]+ },+ "updated_at" : {+ "type" : "string",+ "format" : "date-time"+ }+ },+ "required" : [ "id", "name", "collection_id", "database_id", "status", "created_at", "updated_at" ]+ }+ }+ }+ },+ "4XX" : {+ "description" : "Client error response"+ },+ "5XX" : {+ "description" : "Server error response"+ }+ },+ "tags" : [ "/api/agent/v1/workspace" ]+ }+ },+ "/api/agent/v1/workspace/{ws-id}/archive" : {+ "post" : {+ "operationId" : "post-api-agent-v1-workspace-ws-id-archive",+ "summary" : "POST /api/agent/v1/workspace/{ws-id}/archive",+ "description" : "Archive a workspace.",+ "parameters" : [ {+ "in" : "path",+ "name" : "ws-id",+ "required" : true,+ "schema" : {+ "type" : "integer",+ "minimum" : 1+ },+ "description" : "value must be an integer greater than zero."+ } ],+ "responses" : {+ "2XX" : {+ "description" : "Successful response",+ "content" : {+ "application/json" : {+ "schema" : {+ "type" : "object",+ "properties" : {+ "collection_id" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"+ },+ "created_at" : {+ "type" : "string",+ "format" : "date-time"+ },+ "database_id" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"+ },+ "id" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"+ },+ "name" : {+ "type" : "string"+ },+ "status" : {+ "type" : "string",+ "enum" : [ "archived", "ready", "broken", "pending", "uninitialized" ]+ },+ "updated_at" : {+ "type" : "string",+ "format" : "date-time"+ }+ },+ "required" : [ "id", "name", "collection_id", "database_id", "status", "created_at", "updated_at" ]+ }+ }+ }+ },+ "4XX" : {+ "description" : "Client error response"+ },+ "5XX" : {+ "description" : "Server error response"+ }+ },+ "tags" : [ "/api/agent/v1/workspace" ]+ }+ },+ "/api/agent/v1/workspace/{ws-id}/external/transform" : {+ "get" : {+ "operationId" : "get-api-agent-v1-workspace-ws-id-external-transform",+ "summary" : "GET /api/agent/v1/workspace/{ws-id}/external/transform",+ "description" : "List external transforms not checked out into this workspace.",+ "parameters" : [ {+ "in" : "path",+ "name" : "ws-id",+ "required" : true,+ "schema" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"+ }+ }, {+ "in" : "query",+ "name" : "database-id",+ "required" : false,+ "schema" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"+ }+ } ],+ "responses" : {+ "2XX" : {+ "description" : "Successful response",+ "content" : {+ "application/json" : {+ "schema" : {+ "type" : "object",+ "properties" : {+ "transforms" : {+ "type" : "array",+ "items" : {+ "type" : "object",+ "properties" : {+ "checkout_disabled" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "id" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"+ },+ "name" : {+ "type" : "string"+ },+ "source_type" : {+ "type" : "string"+ }+ },+ "required" : [ "id", "name", "source_type", "checkout_disabled" ]+ }+ }+ },+ "required" : [ "transforms" ]+ }+ }+ }+ },+ "4XX" : {+ "description" : "Client error response"+ },+ "5XX" : {+ "description" : "Server error response"+ }+ },+ "tags" : [ "/api/agent/v1/workspace" ]+ }+ },+ "/api/agent/v1/workspace/{ws-id}/graph" : {+ "get" : {+ "operationId" : "get-api-agent-v1-workspace-ws-id-graph",+ "summary" : "GET /api/agent/v1/workspace/{ws-id}/graph",+ "description" : "Get the dependency graph for a workspace.",+ "parameters" : [ {+ "in" : "path",+ "name" : "ws-id",+ "required" : true,+ "schema" : {+ "type" : "integer",+ "minimum" : 1+ },+ "description" : "value must be an integer greater than zero."+ } ],+ "responses" : {+ "2XX" : {+ "description" : "Successful response",+ "content" : {+ "application/json" : {+ "schema" : {+ "type" : "object",+ "properties" : {+ "edges" : {+ "type" : "array",+ "items" : {+ "type" : "object",+ "properties" : {+ "from_entity_id" : {+ "anyOf" : [ {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"+ }, {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.ref-id"+ } ]+ },+ "from_entity_type" : {+ "type" : "string"+ },+ "to_entity_id" : {+ "anyOf" : [ {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"+ }, {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.ref-id"+ } ]+ },+ "to_entity_type" : {+ "type" : "string"+ }+ },+ "required" : [ "from_entity_id", "from_entity_type", "to_entity_id", "to_entity_type" ]+ }+ },+ "nodes" : {+ "type" : "array",+ "items" : {+ "type" : "object",+ "properties" : {+ "data" : {+ "type" : "object",+ "properties" : { }+ },+ "dependents_count" : {+ "type" : "object",+ "additionalProperties" : {+ "description" : "value must be an integer greater than zero.",+ "type" : "integer",+ "minimum" : 1+ }+ },+ "id" : {+ "anyOf" : [ {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"+ }, {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.ref-id"+ } ]+ },+ "type" : {+ "type" : "string",+ "enum" : [ "input-table", "external-transform", "workspace-transform" ]+ }+ },+ "required" : [ "id", "type", "dependents_count", "data" ]+ }+ }+ },+ "required" : [ "nodes", "edges" ]+ }+ }+ }+ },+ "4XX" : {+ "description" : "Client error response"+ },+ "5XX" : {+ "description" : "Server error response"+ }+ },+ "tags" : [ "/api/agent/v1/workspace" ]+ }+ },+ "/api/agent/v1/workspace/{ws-id}/input/pending" : {+ "get" : {+ "operationId" : "get-api-agent-v1-workspace-ws-id-input-pending",+ "summary" : "GET /api/agent/v1/workspace/{ws-id}/input/pending",+ "description" : "List pending input grants.",+ "parameters" : [ {+ "in" : "path",+ "name" : "ws-id",+ "required" : true,+ "schema" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"+ }+ } ],+ "responses" : {+ "2XX" : {+ "description" : "Successful response",+ "content" : {+ "application/json" : {+ "schema" : {+ "type" : "object",+ "properties" : {+ "inputs" : {+ "type" : "array",+ "items" : {+ "type" : "object",+ "properties" : {+ "db_id" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"+ },+ "schema" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "table" : {+ "type" : "string"+ }+ },+ "required" : [ "db_id", "schema", "table" ]+ }+ }+ },+ "required" : [ "inputs" ]+ }+ }+ }+ },+ "4XX" : {+ "description" : "Client error response"+ },+ "5XX" : {+ "description" : "Server error response"+ }+ },+ "tags" : [ "/api/agent/v1/workspace" ]+ }+ },+ "/api/agent/v1/workspace/{ws-id}/log" : {+ "get" : {+ "operationId" : "get-api-agent-v1-workspace-ws-id-log",+ "summary" : "GET /api/agent/v1/workspace/{ws-id}/log",+ "description" : "Get workspace creation status and recent log entries.",+ "parameters" : [ {+ "in" : "path",+ "name" : "ws-id",+ "required" : true,+ "schema" : {+ "type" : "integer",+ "minimum" : 1+ },+ "description" : "value must be an integer greater than zero."+ } ],+ "responses" : {+ "2XX" : {+ "description" : "Successful response",+ "content" : {+ "application/json" : {+ "schema" : {+ "type" : "object",+ "properties" : {+ "last_completed_at" : {+ "oneOf" : [ { }, {+ "type" : "null"+ } ]+ },+ "logs" : {+ "type" : "array",+ "items" : {+ "type" : "object",+ "properties" : {+ "completed_at" : {+ "oneOf" : [ { }, {+ "type" : "null"+ } ]+ },+ "description" : { },+ "id" : {+ "description" : "value must be an integer greater than zero.",+ "type" : "integer",+ "minimum" : 1+ },+ "message" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "started_at" : { },+ "status" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "task" : {+ "type" : "string"+ },+ "updated_at" : { }+ },+ "required" : [ "id", "task", "description", "started_at", "updated_at", "completed_at", "status", "message" ]+ }+ },+ "status" : {+ "type" : "string",+ "enum" : [ "archived", "ready", "broken", "pending", "uninitialized" ]+ },+ "updated_at" : { },+ "workspace_id" : {+ "description" : "value must be an integer greater than zero.",+ "type" : "integer",+ "minimum" : 1+ }+ },+ "required" : [ "workspace_id", "status", "updated_at", "last_completed_at", "logs" ]+ }+ }+ }+ },+ "4XX" : {+ "description" : "Client error response"+ },+ "5XX" : {+ "description" : "Server error response"+ }+ },+ "tags" : [ "/api/agent/v1/workspace" ]+ }+ },+ "/api/agent/v1/workspace/{ws-id}/problem" : {+ "get" : {+ "operationId" : "get-api-agent-v1-workspace-ws-id-problem",+ "summary" : "GET /api/agent/v1/workspace/{ws-id}/problem",+ "description" : "Detect problems in the workspace.",+ "parameters" : [ {+ "in" : "path",+ "name" : "ws-id",+ "required" : true,+ "schema" : {+ "type" : "integer",+ "minimum" : 1+ },+ "description" : "value must be an integer greater than zero."+ } ],+ "responses" : {+ "2XX" : {+ "description" : "Successful response",+ "content" : {+ "application/json" : {+ "schema" : {+ "type" : "array",+ "items" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.problem"+ }+ }+ }+ }+ },+ "4XX" : {+ "description" : "Client error response"+ },+ "5XX" : {+ "description" : "Server error response"+ }+ },+ "tags" : [ "/api/agent/v1/workspace" ]+ }+ },+ "/api/agent/v1/workspace/{ws-id}/query" : {+ "post" : {+ "operationId" : "post-api-agent-v1-workspace-ws-id-query",+ "summary" : "POST /api/agent/v1/workspace/{ws-id}/query",+ "description" : "Execute a SQL query in the workspace's isolated database context.",+ "parameters" : [ {+ "in" : "path",+ "name" : "ws-id",+ "required" : true,+ "schema" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"+ }+ } ],+ "responses" : {+ "2XX" : {+ "description" : "Successful response",+ "content" : {+ "application/json" : {+ "schema" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.query-result"+ }+ }+ }+ },+ "4XX" : {+ "description" : "Client error response"+ },+ "5XX" : {+ "description" : "Server error response"+ }+ },+ "requestBody" : {+ "content" : {+ "application/json" : {+ "schema" : {+ "type" : "object",+ "properties" : {+ "sql" : {+ "type" : "string",+ "minLength" : 1+ }+ },+ "required" : [ "sql" ]+ }+ }+ }+ },+ "tags" : [ "/api/agent/v1/workspace" ]+ }+ },+ "/api/agent/v1/workspace/{ws-id}/run" : {+ "post" : {+ "operationId" : "post-api-agent-v1-workspace-ws-id-run",+ "summary" : "POST /api/agent/v1/workspace/{ws-id}/run",+ "description" : "Execute all transforms in the workspace in dependency order.",+ "parameters" : [ {+ "in" : "path",+ "name" : "ws-id",+ "required" : true,+ "schema" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"+ }+ } ],+ "responses" : {+ "2XX" : {+ "description" : "Successful response",+ "content" : {+ "application/json" : {+ "schema" : {+ "type" : "object",+ "properties" : {+ "failed" : {+ "type" : "array",+ "items" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.ref-id"+ }+ },+ "not_run" : {+ "type" : "array",+ "items" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.ref-id"+ }+ },+ "succeeded" : {+ "type" : "array",+ "items" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.ref-id"+ }+ }+ },+ "required" : [ "succeeded", "failed", "not_run" ]+ }+ }+ }+ },+ "4XX" : {+ "description" : "Client error response"+ },+ "5XX" : {+ "description" : "Server error response"+ }+ },+ "requestBody" : {+ "content" : {+ "application/json" : {+ "schema" : {+ "type" : "object",+ "properties" : {+ "stale_only" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.flag"+ }+ }+ }+ }+ }+ },+ "tags" : [ "/api/agent/v1/workspace" ]+ }+ },+ "/api/agent/v1/workspace/{ws-id}/table" : {+ "get" : {+ "operationId" : "get-api-agent-v1-workspace-ws-id-table",+ "summary" : "GET /api/agent/v1/workspace/{ws-id}/table",+ "description" : "Get workspace input and output tables.",+ "parameters" : [ {+ "in" : "path",+ "name" : "ws-id",+ "required" : true,+ "schema" : {+ "type" : "integer",+ "minimum" : 1+ },+ "description" : "value must be an integer greater than zero."+ } ],+ "responses" : {+ "2XX" : {+ "description" : "Successful response",+ "content" : {+ "application/json" : {+ "schema" : {+ "type" : "object",+ "properties" : {+ "inputs" : {+ "type" : "array",+ "items" : {+ "type" : "object",+ "properties" : {+ "db_id" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"+ },+ "schema" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "table" : {+ "type" : "string"+ },+ "table_id" : {+ "oneOf" : [ {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"+ }, {+ "type" : "null"+ } ]+ }+ },+ "required" : [ "db_id", "schema", "table", "table_id" ]+ }+ },+ "outputs" : {+ "type" : "array",+ "items" : {+ "type" : "object",+ "properties" : {+ "db_id" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"+ },+ "global" : {+ "type" : "object",+ "properties" : {+ "schema" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "table" : {+ "type" : "string"+ },+ "table_id" : {+ "oneOf" : [ {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"+ }, {+ "type" : "null"+ } ]+ },+ "transform_id" : {+ "oneOf" : [ {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"+ }, {+ "type" : "null"+ } ]+ }+ },+ "required" : [ "transform_id", "schema", "table", "table_id" ]+ },+ "isolated" : {+ "type" : "object",+ "properties" : {+ "schema" : {+ "type" : "string"+ },+ "table" : {+ "type" : "string"+ },+ "table_id" : {+ "oneOf" : [ {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"+ }, {+ "type" : "null"+ } ]+ },+ "transform_id" : {+ "anyOf" : [ {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.ref-id"+ }, {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"+ } ]+ }+ },+ "required" : [ "transform_id", "schema", "table", "table_id" ]+ }+ },+ "required" : [ "db_id", "global", "isolated" ]+ }+ }+ },+ "required" : [ "inputs", "outputs" ],+ "additionalProperties" : false+ }+ }+ }+ },+ "4XX" : {+ "description" : "Client error response"+ },+ "5XX" : {+ "description" : "Server error response"+ }+ },+ "tags" : [ "/api/agent/v1/workspace" ]+ }+ },+ "/api/agent/v1/workspace/{ws-id}/transform" : {+ "get" : {+ "operationId" : "get-api-agent-v1-workspace-ws-id-transform",+ "summary" : "GET /api/agent/v1/workspace/{ws-id}/transform",+ "description" : "List all transforms in a workspace.",+ "parameters" : [ {+ "in" : "path",+ "name" : "ws-id",+ "required" : true,+ "schema" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"+ }+ } ],+ "responses" : {+ "2XX" : {+ "description" : "Successful response",+ "content" : {+ "application/json" : {+ "schema" : {+ "type" : "object",+ "properties" : {+ "transforms" : {+ "type" : "array",+ "items" : {+ "type" : "object",+ "properties" : {+ "creator_id" : {+ "oneOf" : [ {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"+ }, {+ "type" : "null"+ } ]+ },+ "global_id" : {+ "oneOf" : [ {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"+ }, {+ "type" : "null"+ } ]+ },+ "name" : {+ "type" : "string"+ },+ "ref_id" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.ref-id"+ },+ "source_type" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ }+ },+ "required" : [ "ref_id", "global_id", "name", "source_type", "creator_id" ],+ "additionalProperties" : false+ }+ }+ },+ "required" : [ "transforms" ]+ }+ }+ }+ },+ "4XX" : {+ "description" : "Client error response"+ },+ "5XX" : {+ "description" : "Server error response"+ }+ },+ "tags" : [ "/api/agent/v1/workspace" ]+ },+ "post" : {+ "operationId" : "post-api-agent-v1-workspace-ws-id-transform",+ "summary" : "POST /api/agent/v1/workspace/{ws-id}/transform",+ "description" : "Create a new transform in the workspace.",+ "parameters" : [ {+ "in" : "path",+ "name" : "ws-id",+ "required" : true,+ "schema" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"+ }+ } ],+ "responses" : {+ "2XX" : {+ "description" : "Successful response",+ "content" : {+ "application/json" : {+ "schema" : {+ "type" : "object",+ "properties" : {+ "last_run_at" : { },+ "target_stale" : {+ "oneOf" : [ {+ "type" : "boolean"+ }, {+ "type" : "null"+ } ]+ },+ "name" : {+ "type" : "string"+ },+ "last_run_status" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "workspace_id" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"+ },+ "updated_at" : { },+ "archived_at" : { },+ "source" : {+ "type" : "object",+ "properties" : { }+ },+ "last_run_message" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "target" : {+ "type" : "object",+ "properties" : { }+ },+ "created_at" : { },+ "global_id" : {+ "oneOf" : [ {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"+ }, {+ "type" : "null"+ } ]+ },+ "creator_id" : {+ "oneOf" : [ {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"+ }, {+ "type" : "null"+ } ]+ },+ "ref_id" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.ref-id"+ },+ "description" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ }+ },+ "required" : [ "ref_id", "global_id", "name", "description", "source", "target", "target_stale", "workspace_id", "creator_id", "archived_at", "created_at", "updated_at", "last_run_at", "last_run_status", "last_run_message" ]+ }+ }+ }+ },+ "4XX" : {+ "description" : "Client error response"+ },+ "5XX" : {+ "description" : "Server error response"+ }+ },+ "requestBody" : {+ "content" : {+ "application/json" : {+ "schema" : {+ "type" : "object",+ "properties" : {+ "description" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "name" : {+ "type" : "string"+ },+ "source" : {+ "oneOf" : [ {+ "type" : "object",+ "properties" : {+ "query" : {+ "$ref" : "#/components/schemas/metabase.queries.schema.query"+ },+ "type" : {+ "const" : "query"+ }+ },+ "required" : [ "type", "query" ]+ }, {+ "type" : "object",+ "properties" : {+ "body" : {+ "type" : "string"+ },+ "source-database" : {+ "type" : "integer"+ },+ "source-tables" : {+ "type" : "array",+ "items" : {+ "type" : "object",+ "properties" : {+ "alias" : {+ "type" : "string",+ "minLength" : 1+ },+ "table_id" : {+ "type" : "integer"+ }+ },+ "required" : [ "alias", "table_id" ]+ }+ },+ "type" : {+ "const" : "python"+ }+ },+ "required" : [ "source-tables", "type", "body" ],+ "additionalProperties" : false+ } ]+ },+ "target" : {+ "type" : "object",+ "properties" : {+ "database" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"+ },+ "name" : {+ "type" : "string",+ "minLength" : 1+ },+ "schema" : {+ "oneOf" : [ {+ "type" : "string",+ "minLength" : 1+ }, {+ "type" : "null"+ } ]+ },+ "type" : {+ "type" : "string",+ "enum" : [ "table" ]+ }+ },+ "required" : [ "type", "name" ],+ "additionalProperties" : false+ }+ },+ "required" : [ "name", "source", "target" ]+ }+ }+ }+ },+ "tags" : [ "/api/agent/v1/workspace" ]+ }+ },+ "/api/agent/v1/workspace/{ws-id}/transform/validate/target" : {+ "post" : {+ "operationId" : "post-api-agent-v1-workspace-ws-id-transform-validate-target",+ "summary" : "POST /api/agent/v1/workspace/{ws-id}/transform/validate/target",+ "description" : "Validate the target table for a workspace transform.",+ "parameters" : [ {+ "in" : "path",+ "name" : "ws-id",+ "required" : true,+ "schema" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"+ }+ }, {+ "in" : "query",+ "name" : "transform-id",+ "required" : false,+ "schema" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.ref-id"+ }+ } ],+ "responses" : {+ "2XX" : {+ "description" : "Successful response",+ "content" : {+ "application/json" : {+ "schema" : {+ "type" : "object",+ "properties" : {+ "body" : {+ "anyOf" : [ {+ "type" : "string"+ }, {+ "anyOf" : [ { }, { } ]+ } ]+ },+ "status" : {+ "type" : "integer"+ }+ },+ "required" : [ "status", "body" ]+ }+ }+ }+ },+ "4XX" : {+ "description" : "Client error response"+ },+ "5XX" : {+ "description" : "Server error response"+ }+ },+ "requestBody" : {+ "content" : {+ "application/json" : {+ "schema" : {+ "type" : "object",+ "properties" : {+ "db_id" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"+ },+ "target" : {+ "type" : "object",+ "properties" : {+ "database" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"+ },+ "name" : {+ "type" : "string"+ },+ "schema" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "type" : {+ "type" : "string"+ }+ },+ "required" : [ "type", "schema", "name" ]+ }+ },+ "required" : [ "target" ]+ }+ }+ }+ },+ "tags" : [ "/api/agent/v1/workspace" ]+ }+ },+ "/api/agent/v1/workspace/{ws-id}/transform/{tx-id}" : {+ "get" : {+ "operationId" : "get-api-agent-v1-workspace-ws-id-transform-tx-id",+ "summary" : "GET /api/agent/v1/workspace/{ws-id}/transform/{tx-id}",+ "description" : "Get a specific transform in a workspace.",+ "parameters" : [ {+ "in" : "path",+ "name" : "ws-id",+ "required" : true,+ "schema" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"+ }+ }, {+ "in" : "path",+ "name" : "tx-id",+ "required" : true,+ "schema" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.ref-id"+ }+ } ],+ "responses" : {+ "2XX" : {+ "description" : "Successful response",+ "content" : {+ "application/json" : {+ "schema" : {+ "type" : "object",+ "properties" : {+ "last_run_at" : { },+ "target_stale" : {+ "oneOf" : [ {+ "type" : "boolean"+ }, {+ "type" : "null"+ } ]+ },+ "name" : {+ "type" : "string"+ },+ "last_run_status" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "workspace_id" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"+ },+ "updated_at" : { },+ "archived_at" : { },+ "source" : {+ "type" : "object",+ "properties" : { }+ },+ "last_run_message" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "target" : {+ "type" : "object",+ "properties" : { }+ },+ "created_at" : { },+ "global_id" : {+ "oneOf" : [ {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"+ }, {+ "type" : "null"+ } ]+ },+ "creator_id" : {+ "oneOf" : [ {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"+ }, {+ "type" : "null"+ } ]+ },+ "ref_id" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.ref-id"+ },+ "description" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ }+ },+ "required" : [ "ref_id", "global_id", "name", "description", "source", "target", "target_stale", "workspace_id", "creator_id", "archived_at", "created_at", "updated_at", "last_run_at", "last_run_status", "last_run_message" ]+ }+ }+ }+ },+ "4XX" : {+ "description" : "Client error response"+ },+ "5XX" : {+ "description" : "Server error response"+ }+ },+ "tags" : [ "/api/agent/v1/workspace" ]+ },+ "put" : {+ "operationId" : "put-api-agent-v1-workspace-ws-id-transform-tx-id",+ "summary" : "PUT /api/agent/v1/workspace/{ws-id}/transform/{tx-id}",+ "description" : "Update or create a transform in a workspace.",+ "parameters" : [ {+ "in" : "path",+ "name" : "ws-id",+ "required" : true,+ "schema" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"+ }+ }, {+ "in" : "path",+ "name" : "tx-id",+ "required" : true,+ "schema" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.ref-id"+ }+ } ],+ "responses" : {+ "2XX" : {+ "description" : "Successful response",+ "content" : {+ "application/json" : {+ "schema" : {+ "type" : "object",+ "properties" : {+ "last_run_at" : { },+ "target_stale" : {+ "oneOf" : [ {+ "type" : "boolean"+ }, {+ "type" : "null"+ } ]+ },+ "name" : {+ "type" : "string"+ },+ "last_run_status" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "workspace_id" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"+ },+ "updated_at" : { },+ "archived_at" : { },+ "source" : {+ "type" : "object",+ "properties" : { }+ },+ "last_run_message" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "target" : {+ "type" : "object",+ "properties" : { }+ },+ "created_at" : { },+ "global_id" : {+ "oneOf" : [ {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"+ }, {+ "type" : "null"+ } ]+ },+ "creator_id" : {+ "oneOf" : [ {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"+ }, {+ "type" : "null"+ } ]+ },+ "ref_id" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.ref-id"+ },+ "description" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ }+ },+ "required" : [ "ref_id", "global_id", "name", "description", "source", "target", "target_stale", "workspace_id", "creator_id", "archived_at", "created_at", "updated_at", "last_run_at", "last_run_status", "last_run_message" ]+ }+ }+ }+ },+ "4XX" : {+ "description" : "Client error response"+ },+ "5XX" : {+ "description" : "Server error response"+ }+ },+ "requestBody" : {+ "content" : {+ "application/json" : {+ "schema" : {+ "type" : "object",+ "properties" : {+ "description" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "name" : {+ "type" : "string"+ },+ "source" : {+ "oneOf" : [ {+ "type" : "object",+ "properties" : {+ "query" : {+ "$ref" : "#/components/schemas/metabase.queries.schema.query"+ },+ "type" : {+ "const" : "query"+ }+ },+ "required" : [ "type", "query" ]+ }, {+ "type" : "object",+ "properties" : {+ "body" : {+ "type" : "string"+ },+ "source-database" : {+ "type" : "integer"+ },+ "source-tables" : {+ "type" : "array",+ "items" : {+ "type" : "object",+ "properties" : {+ "alias" : {+ "type" : "string",+ "minLength" : 1+ },+ "table_id" : {+ "type" : "integer"+ }+ },+ "required" : [ "alias", "table_id" ]+ }+ },+ "type" : {+ "const" : "python"+ }+ },+ "required" : [ "source-tables", "type", "body" ],+ "additionalProperties" : false+ } ]+ },+ "target" : {+ "type" : "object",+ "properties" : {+ "database" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"+ },+ "name" : {+ "type" : "string",+ "minLength" : 1+ },+ "schema" : {+ "oneOf" : [ {+ "type" : "string",+ "minLength" : 1+ }, {+ "type" : "null"+ } ]+ },+ "type" : {+ "type" : "string",+ "enum" : [ "table" ]+ }+ },+ "required" : [ "type", "name" ],+ "additionalProperties" : false+ }+ }+ }+ }+ }+ },+ "tags" : [ "/api/agent/v1/workspace" ]+ },+ "delete" : {+ "operationId" : "delete-api-agent-v1-workspace-ws-id-transform-tx-id",+ "summary" : "DELETE /api/agent/v1/workspace/{ws-id}/transform/{tx-id}",+ "description" : "Delete a transform from the workspace.",+ "parameters" : [ {+ "in" : "path",+ "name" : "ws-id",+ "required" : true,+ "schema" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"+ }+ }, {+ "in" : "path",+ "name" : "tx-id",+ "required" : true,+ "schema" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.ref-id"+ }+ } ],+ "responses" : {+ "2XX" : {+ "description" : "Successful response",+ "content" : {+ "application/json" : {+ "schema" : {+ "type" : "null"+ }+ }+ }+ },+ "4XX" : {+ "description" : "Client error response"+ },+ "5XX" : {+ "description" : "Server error response"+ }+ },+ "tags" : [ "/api/agent/v1/workspace" ]+ }+ },+ "/api/agent/v1/workspace/{ws-id}/transform/{tx-id}/archive" : {+ "post" : {+ "operationId" : "post-api-agent-v1-workspace-ws-id-transform-tx-id-archive",+ "summary" : "POST /api/agent/v1/workspace/{ws-id}/transform/{tx-id}/archive",+ "description" : "Mark a transform for archival.",+ "parameters" : [ {+ "in" : "path",+ "name" : "ws-id",+ "required" : true,+ "schema" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"+ }+ }, {+ "in" : "path",+ "name" : "tx-id",+ "required" : true,+ "schema" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.ref-id"+ }+ } ],+ "responses" : {+ "2XX" : {+ "description" : "Successful response",+ "content" : {+ "application/json" : {+ "schema" : {+ "type" : "null"+ }+ }+ }+ },+ "4XX" : {+ "description" : "Client error response"+ },+ "5XX" : {+ "description" : "Server error response"+ }+ },+ "tags" : [ "/api/agent/v1/workspace" ]+ }+ },+ "/api/agent/v1/workspace/{ws-id}/transform/{tx-id}/dry-run" : {+ "post" : {+ "operationId" : "post-api-agent-v1-workspace-ws-id-transform-tx-id-dry-run",+ "summary" : "POST /api/agent/v1/workspace/{ws-id}/transform/{tx-id}/dry-run",+ "description" : "Dry-run a transform without persisting to the target table.",+ "parameters" : [ {+ "in" : "path",+ "name" : "ws-id",+ "required" : true,+ "schema" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"+ }+ }, {+ "in" : "path",+ "name" : "tx-id",+ "required" : true,+ "schema" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.ref-id"+ }+ } ],+ "responses" : {+ "2XX" : {+ "description" : "Successful response",+ "content" : {+ "application/json" : {+ "schema" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.query-result"+ }+ }+ }+ },+ "4XX" : {+ "description" : "Client error response"+ },+ "5XX" : {+ "description" : "Server error response"+ }+ },+ "requestBody" : {+ "content" : {+ "application/json" : {+ "schema" : {+ "type" : "object",+ "properties" : {+ "run_stale_ancestors" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.flag"+ }+ }+ }+ }+ }+ },+ "tags" : [ "/api/agent/v1/workspace" ]+ }+ },+ "/api/agent/v1/workspace/{ws-id}/transform/{tx-id}/run" : {+ "post" : {+ "operationId" : "post-api-agent-v1-workspace-ws-id-transform-tx-id-run",+ "summary" : "POST /api/agent/v1/workspace/{ws-id}/transform/{tx-id}/run",+ "description" : "Run a single transform in a workspace.",+ "parameters" : [ {+ "in" : "path",+ "name" : "ws-id",+ "required" : true,+ "schema" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"+ }+ }, {+ "in" : "path",+ "name" : "tx-id",+ "required" : true,+ "schema" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.ref-id"+ }+ } ],+ "responses" : {+ "2XX" : {+ "description" : "Successful response",+ "content" : {+ "application/json" : {+ "schema" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.execution-result"}}}@@ -17179,30 +18581,41 @@"description" : "Server error response"}},- "tags" : [ "/api/agent" ]+ "requestBody" : {+ "content" : {+ "application/json" : {+ "schema" : {+ "type" : "object",+ "properties" : {+ "run_stale_ancestors" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.flag"+ }+ }+ }+ }+ }+ },+ "tags" : [ "/api/agent/v1/workspace" ]}},- "/api/agent/v1/table/{id}/field/{field-id}/values" : {- "get" : {- "operationId" : "get-api-agent-v1-table-id-field-field-id-values",- "summary" : "GET /api/agent/v1/table/{id}/field/{field-id}/values",- "description" : "Get statistics and sample values for a table field.",+ "/api/agent/v1/workspace/{ws-id}/transform/{tx-id}/unarchive" : {+ "post" : {+ "operationId" : "post-api-agent-v1-workspace-ws-id-transform-tx-id-unarchive",+ "summary" : "POST /api/agent/v1/workspace/{ws-id}/transform/{tx-id}/unarchive",+ "description" : "Unmark a transform for archival.","parameters" : [ {"in" : "path",- "name" : "id",+ "name" : "ws-id","required" : true,"schema" : {- "type" : "integer",- "minimum" : 1- },- "description" : "value must be an integer greater than zero."+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"+ }}, {"in" : "path",- "name" : "field-id",+ "name" : "tx-id","required" : true,"schema" : {- "type" : "string",- "minLength" : 1+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.ref-id"}} ],"responses" : {@@ -17211,7 +18624,7 @@"content" : {"application/json" : {"schema" : {- "$ref" : "#/components/schemas/metabase-enterprise.agent-api.api.field-values"+ "type" : "null"}}}@@ -17223,7 +18636,7 @@"description" : "Server error response"}},- "tags" : [ "/api/agent" ]+ "tags" : [ "/api/agent/v1/workspace" ]}},"/api/alert" : {@@ -32618,7 +34031,8 @@"type" : "string"},"status" : {- "$ref" : "#/components/schemas/metabase-enterprise.workspaces.api.status"+ "type" : "string",+ "enum" : [ "archived", "ready", "broken", "pending", "uninitialized" ]},"updated_at" : {"type" : "string",@@ -32672,9 +34086,6 @@"schema" : {"type" : "object","properties" : {- "api_key" : {- "type" : "string"- },"collection_id" : {"$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"},@@ -32692,7 +34103,8 @@"type" : "string"},"status" : {- "$ref" : "#/components/schemas/metabase-enterprise.workspaces.api.status"+ "type" : "string",+ "enum" : [ "archived", "ready", "broken", "pending", "uninitialized" ]},"updated_at" : {"type" : "string",@@ -32820,7 +34232,8 @@"type" : "string"},"status" : {- "$ref" : "#/components/schemas/metabase-enterprise.workspaces.api.status"+ "type" : "string",+ "enum" : [ "archived", "ready", "broken", "pending", "uninitialized" ]}},"required" : [ "id", "name", "status", "existing" ]@@ -32975,9 +34388,6 @@"schema" : {"type" : "object","properties" : {- "api_key" : {- "type" : "string"- },"collection_id" : {"$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"},@@ -32995,7 +34405,8 @@"type" : "string"},"status" : {- "$ref" : "#/components/schemas/metabase-enterprise.workspaces.api.status"+ "type" : "string",+ "enum" : [ "archived", "ready", "broken", "pending", "uninitialized" ]},"updated_at" : {"type" : "string",@@ -33038,9 +34449,6 @@"schema" : {"type" : "object","properties" : {- "api_key" : {- "type" : "string"- },"collection_id" : {"$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"},@@ -33058,7 +34466,8 @@"type" : "string"},"status" : {- "$ref" : "#/components/schemas/metabase-enterprise.workspaces.api.status"+ "type" : "string",+ "enum" : [ "archived", "ready", "broken", "pending", "uninitialized" ]},"updated_at" : {"type" : "string",@@ -33162,9 +34571,6 @@"schema" : {"type" : "object","properties" : {- "api_key" : {- "type" : "string"- },"collection_id" : {"$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"},@@ -33182,7 +34588,8 @@"type" : "string"},"status" : {- "$ref" : "#/components/schemas/metabase-enterprise.workspaces.api.status"+ "type" : "string",+ "enum" : [ "archived", "ready", "broken", "pending", "uninitialized" ]},"updated_at" : {"type" : "string",@@ -33299,13 +34706,62 @@"edges" : {"type" : "array","items" : {- "$ref" : "#/components/schemas/metabase-enterprise.workspaces.api.graph-edge"+ "type" : "object",+ "properties" : {+ "from_entity_id" : {+ "anyOf" : [ {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"+ }, {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.ref-id"+ } ]+ },+ "from_entity_type" : {+ "type" : "string"+ },+ "to_entity_id" : {+ "anyOf" : [ {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"+ }, {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.ref-id"+ } ]+ },+ "to_entity_type" : {+ "type" : "string"+ }+ },+ "required" : [ "from_entity_id", "from_entity_type", "to_entity_id", "to_entity_type" ]}},"nodes" : {"type" : "array","items" : {- "$ref" : "#/components/schemas/metabase-enterprise.workspaces.api.graph-node"+ "type" : "object",+ "properties" : {+ "data" : {+ "type" : "object",+ "properties" : { }+ },+ "dependents_count" : {+ "type" : "object",+ "additionalProperties" : {+ "description" : "value must be an integer greater than zero.",+ "type" : "integer",+ "minimum" : 1+ }+ },+ "id" : {+ "anyOf" : [ {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"+ }, {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.ref-id"+ } ]+ },+ "type" : {+ "type" : "string",+ "enum" : [ "input-table", "external-transform", "workspace-transform" ]+ }+ },+ "required" : [ "id", "type", "dependents_count", "data" ]}}},@@ -33572,7 +35028,8 @@}},"status" : {- "$ref" : "#/components/schemas/metabase-enterprise.workspaces.api.status"+ "type" : "string",+ "enum" : [ "archived", "ready", "broken", "pending", "uninitialized" ]},"updated_at" : { },"workspace_id" : {@@ -33900,13 +35357,98 @@"inputs" : {"type" : "array","items" : {- "$ref" : "#/components/schemas/metabase-enterprise.workspaces.api.input-table"+ "type" : "object",+ "properties" : {+ "db_id" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"+ },+ "schema" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "table" : {+ "type" : "string"+ },+ "table_id" : {+ "oneOf" : [ {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"+ }, {+ "type" : "null"+ } ]+ }+ },+ "required" : [ "db_id", "schema", "table", "table_id" ]}},"outputs" : {"type" : "array","items" : {- "$ref" : "#/components/schemas/metabase-enterprise.workspaces.api.output-table"+ "type" : "object",+ "properties" : {+ "db_id" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"+ },+ "global" : {+ "type" : "object",+ "properties" : {+ "schema" : {+ "oneOf" : [ {+ "type" : "string"+ }, {+ "type" : "null"+ } ]+ },+ "table" : {+ "type" : "string"+ },+ "table_id" : {+ "oneOf" : [ {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"+ }, {+ "type" : "null"+ } ]+ },+ "transform_id" : {+ "oneOf" : [ {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"+ }, {+ "type" : "null"+ } ]+ }+ },+ "required" : [ "transform_id", "schema", "table", "table_id" ]+ },+ "isolated" : {+ "type" : "object",+ "properties" : {+ "schema" : {+ "type" : "string"+ },+ "table" : {+ "type" : "string"+ },+ "table_id" : {+ "oneOf" : [ {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"+ }, {+ "type" : "null"+ } ]+ },+ "transform_id" : {+ "anyOf" : [ {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.ref-id"+ }, {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"+ } ]+ }+ },+ "required" : [ "transform_id", "schema", "table", "table_id" ]+ }+ },+ "required" : [ "db_id", "global", "isolated" ]}}},@@ -34040,10 +35582,78 @@"type" : "string"},"source" : {- "$ref" : "#/components/schemas/metabase-enterprise.workspaces.api.transform-source"+ "oneOf" : [ {+ "type" : "object",+ "properties" : {+ "query" : {+ "$ref" : "#/components/schemas/metabase.queries.schema.query"+ },+ "type" : {+ "const" : "query"+ }+ },+ "required" : [ "type", "query" ]+ }, {+ "type" : "object",+ "properties" : {+ "body" : {+ "type" : "string"+ },+ "source-database" : {+ "type" : "integer"+ },+ "source-tables" : {+ "type" : "array",+ "items" : {+ "type" : "object",+ "properties" : {+ "alias" : {+ "type" : "string",+ "minLength" : 1+ },+ "table_id" : {+ "type" : "integer"+ }+ },+ "required" : [ "alias", "table_id" ]+ }+ },+ "type" : {+ "const" : "python"+ }+ },+ "required" : [ "source-tables", "type", "body" ],+ "additionalProperties" : false+ } ]+ },+ "target" : {+ "type" : "object",+ "properties" : {+ "database" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"+ },+ "name" : {+ "type" : "string",+ "minLength" : 1+ },+ "schema" : {+ "oneOf" : [ {+ "type" : "string",+ "minLength" : 1+ }, {+ "type" : "null"+ } ]+ },+ "type" : {+ "type" : "string",+ "enum" : [ "table" ]+ }+ },+ "required" : [ "type", "name" ],+ "additionalProperties" : false}},- "required" : [ "name", "source" ]+ "required" : [ "name", "source", "target" ]}}}@@ -34440,10 +36050,75 @@"type" : "string"},"source" : {- "$ref" : "#/components/schemas/metabase-enterprise.workspaces.api.transform-source"+ "oneOf" : [ {+ "type" : "object",+ "properties" : {+ "query" : {+ "$ref" : "#/components/schemas/metabase.queries.schema.query"+ },+ "type" : {+ "const" : "query"+ }+ },+ "required" : [ "type", "query" ]+ }, {+ "type" : "object",+ "properties" : {+ "body" : {+ "type" : "string"+ },+ "source-database" : {+ "type" : "integer"+ },+ "source-tables" : {+ "type" : "array",+ "items" : {+ "type" : "object",+ "properties" : {+ "alias" : {+ "type" : "string",+ "minLength" : 1+ },+ "table_id" : {+ "type" : "integer"+ }+ },+ "required" : [ "alias", "table_id" ]+ }+ },+ "type" : {+ "const" : "python"+ }+ },+ "required" : [ "source-tables", "type", "body" ],+ "additionalProperties" : false+ } ]},"target" : {- "$ref" : "#/components/schemas/metabase-enterprise.workspaces.api.transform-target"+ "type" : "object",+ "properties" : {+ "database" : {+ "$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"+ },+ "name" : {+ "type" : "string",+ "minLength" : 1+ },+ "schema" : {+ "oneOf" : [ {+ "type" : "string",+ "minLength" : 1+ }, {+ "type" : "null"+ } ]+ },+ "type" : {+ "type" : "string",+ "enum" : [ "table" ]+ }+ },+ "required" : [ "type", "name" ],+ "additionalProperties" : false}}}@@ -34783,9 +36458,6 @@"schema" : {"type" : "object","properties" : {- "api_key" : {- "type" : "string"- },"collection_id" : {"$ref" : "#/components/schemas/metabase-enterprise.workspaces.types.appdb-id"},@@ -34803,7 +36475,8 @@"type" : "string"},"status" : {- "$ref" : "#/components/schemas/metabase-enterprise.workspaces.api.status"+ "type" : "string",+ "enum" : [ "archived", "ready", "broken", "pending", "uninitialized" ]},"updated_at" : {"type" : "string",diff --git a/docs/configuring-metabase/environment-variables.md b/docs/configuring-metabase/environment-variables.mdindex a9e96787ba6..7ea2c7fc690 100644--- a/docs/configuring-metabase/environment-variables.md+++ b/docs/configuring-metabase/environment-variables.md@@ -2469,13 +2469,26 @@ Default: `""`When set, starts a Java Flight Recorder (JFR) recording at startup that can be analyzed with JDK Mission Control or other JFR tools.-- `"true"` generates a timestamped output file like `metabase-2026_01_15.jfr`-- Any other non-empty value is used as the output filename (`.jfr` extension is appended if missing)+- `"true"` generates a timestamped output file like `metabase-20260115_143000.jfr`+- A value ending in `.jfr` is used as the output filename+- Any other non-empty value is treated as a directory path. A new timestamped JFR file is written to that directory every 30 minutes (e.g., `metabase-20260115_143000.jfr`). Data is only written at the end of each 30-minute interval.- `""` or `"false"` disables monitoring (the default)The performance recording stores only method signature calls and other code execution metrics.It does not store any sensitive information such as environment variables, system properties, or other machine information.+### `MB_MONITOR_PERFORMANCE_SAVE_RATE`++Type: integer<br>+Default: mode-specific (5 minutes for single-file mode, 30 minutes for rolling mode)++Override the interval (in minutes) at which JFR recording data is saved to disk. Only applies when [MB_MONITOR_PERFORMANCE](#mb_monitor_performance) is enabled.++- In single-file mode, the default is `5` minutes.+- In rolling directory mode, the default is `30` minutes.++Setting this value overrides the default for whichever mode is active.+### `MB_NO_SURVEYS`Type: boolean<br>