---
title: "GET /api/automagic-dashboards/{entity}/{entity-id-or-query}"
method: GET
path: "/api/automagic-dashboards/{entity}/{entity-id-or-query}"
tags: ["/api/automagic-dashboards"]
---

# GET /api/automagic-dashboards/{entity}/{entity-id-or-query}

`GET /api/automagic-dashboards/{entity}/{entity-id-or-query}`

Return an automagic dashboard for entity `entity` with id `id`.

## Path parameters

- `entity` 'adhoc' | 'field' | 'model' | 'question' | 'segment' | 'table' | 'transform', required
- `entity-id-or-query` string, required — One of these: * A non-empty string with an Entity ID (including `card__<id>`-encoded Card IDs) * a form-encoded base-64-encoded JSON-encoded MBQL query * The name of a transform (Effectively since the names of transforms are unconstrained this parameter is allowed to be any form-encoded string.)

## Query parameters

- `show` union
  - 'all'
  - integer

## Response `2XX`

Successful response

## Other responses

- `4XX` — Client error response
- `5XX` — Server error response

---

[API](https://skmtc.net/metabase/apis/metabase-api.md) · [All operations](https://skmtc.net/metabase/apis/metabase-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/metabase/metabase-api/revisions/08b5a2bafb4f/schema)
