Version v0.49 of Metabase is no longer supported. Check out the docs for the current stable version, Metabase v0.63.
Automagic dashboards
API endpoints for Automagic dashboards.
GET /api/automagic-dashboards/:entity/:entity-id-or-query
Return an automagic dashboard for entity entity with id id.
PARAMS:
-
entityInvalid entity type. -
entity-id-or-query -
shownullable must equal all, or natural integer.
GET /api/automagic-dashboards/:entity/:entity-id-or-query/cell/:cell-query
Return an automagic dashboard analyzing cell in automagic dashboard for entity entity
defined by
query cell-query.
PARAMS:
-
entityInvalid entity type. -
entity-id-or-query -
cell-queryvalue couldn’t be parsed as base64 encoded JSON. -
showinvalid show value.
GET /api/automagic-dashboards/:entity/:entity-id-or-query/cell/:cell-query/compare/:comparison-entity/:comparison-entity-id-or-query
Return an automagic comparison dashboard for cell in automagic dashboard for entity entity
with id id defined by query cell-query; compared with entity comparison-entity with id
comparison-entity-id-or-query..
PARAMS:
-
entityInvalid entity type. -
entity-id-or-query -
cell-queryvalue couldn’t be parsed as base64 encoded JSON. -
showinvalid show value. -
comparison-entityInvalid comparison entity type. Can only be one of “table”, “segment”, or “adhoc”. -
comparison-entity-id-or-query
GET /api/automagic-dashboards/:entity/:entity-id-or-query/cell/:cell-query/rule/:prefix/:dashboard-template
Return an automagic dashboard analyzing cell in question with id id defined by
query cell-query using dashboard-template dashboard-template.
PARAMS:
-
entityInvalid entity type. -
entity-id-or-query -
cell-queryvalue couldn’t be parsed as base64 encoded JSON. -
prefixinvalid value for prefix. -
dashboard-templateinvalid value for dashboard template name. -
showinvalid show value.
GET /api/automagic-dashboards/:entity/:entity-id-or-query/cell/:cell-query/rule/:prefix/:dashboard-template/compare/:comparison-entity/:comparison-entity-id-or-query
Return an automagic comparison dashboard for cell in automagic dashboard for entity entity
with id id defined by query cell-query using dashboard-template dashboard-template; compared with entity
comparison-entity with id comparison-entity-id-or-query..
PARAMS:
-
entityInvalid entity type. -
entity-id-or-query -
cell-queryvalue couldn’t be parsed as base64 encoded JSON. -
prefixinvalid value for prefix. -
dashboard-templateinvalid value for dashboard template name. -
showinvalid show value. -
comparison-entityInvalid comparison entity type. Can only be one of “table”, “segment”, or “adhoc”. -
comparison-entity-id-or-query
GET /api/automagic-dashboards/:entity/:entity-id-or-query/compare/:comparison-entity/:comparison-entity-id-or-query
Return an automagic comparison dashboard for entity entity with id id compared with entity
comparison-entity with id comparison-entity-id-or-query..
PARAMS:
-
entityInvalid entity type. -
entity-id-or-query -
showinvalid show value. -
comparison-entityInvalid comparison entity type. Can only be one of “table”, “segment”, or “adhoc”. -
comparison-entity-id-or-query
GET /api/automagic-dashboards/:entity/:entity-id-or-query/rule/:prefix/:dashboard-template
Return an automagic dashboard for entity entity with id id using dashboard-template dashboard-template.
PARAMS:
-
entityInvalid entity type. -
entity-id-or-query -
prefixinvalid value for prefix. -
dashboard-templateinvalid value for dashboard template name. -
showinvalid show value.
GET /api/automagic-dashboards/:entity/:entity-id-or-query/rule/:prefix/:dashboard-template/compare/:comparison-entity/:comparison-entity-id-or-query
Return an automagic comparison dashboard for entity entity with id id using dashboard-template dashboard-template;
compared with entity comparison-entity with id comparison-entity-id-or-query..
PARAMS:
-
entityInvalid entity type. -
entity-id-or-query -
prefixinvalid value for prefix. -
dashboard-templateinvalid value for dashboard template name. -
showinvalid show value. -
comparison-entityInvalid comparison entity type. Can only be one of “table”, “segment”, or “adhoc”. -
comparison-entity-id-or-query
GET /api/automagic-dashboards/database/:id/candidates
Return a list of candidates for automagic dashboards orderd by interestingness.
PARAMS:
idvalue must be an integer greater than zero.
GET /api/automagic-dashboards/model_index/:model-index-id/primary_key/:pk-id
Return an automagic dashboard for an entity detail specified by entity
with id id and a primary key of indexed-value.
PARAMS:
-
model-index-idinteger. -
pk-idinteger.
Read docs for other versions of Metabase.