Grafana: Get Dashboard
grafana_get_dashboardRead a Grafana dashboard as a compact summary, a single panel's JSON, or full JSON for saving; choose the view to inspect structure without unnecessary layout data.
Instructions
Read a dashboard. view=summary (default) returns what is on it without the layout: variables, and every panel (rows flattened) with its id, type, unit and queries — the layout, styling and overrides left out, typically half the JSON. view=panel returns one panel's full JSON (needs panel_id). view=full returns the whole dashboard JSON with its version, which is what grafana_save_dashboard needs back; it can be tens of KB. To see the DATA a panel shows, use grafana_run_panel_query instead of reading its query and re-typing it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uid | Yes | The dashboard uid, e.g. "alertmanager-overview" (from grafana_search or a /d/<uid>/ URL). | |
| view | No | summary (default), panel (one panel's JSON, needs panel_id), or full. | summary |
| panel_id | No | The panel id, from grafana_get_dashboard (or `viewPanel=` in a dashboard URL), e.g. 4. |