---
name: metabase_get_dashboard
kind: function
lang: py
domain: infra
version: "1.0.0"
purity: impure
signature: "def metabase_get_dashboard(client: MetabaseClient, dashboard_id: int) -> dict"
description: "Obtiene dashboard completo con dashcards (cards posicionadas), tabs y parametros. Endpoint: GET /api/dashboard/:id."
tags: [metabase, dashboard, get, api, python]
uses_functions: []
uses_types: []
returns: []
returns_optional: false
error_type: "error_go_core"
imports: [httpx]
params:
  - name: client
    desc: "instancia autenticada de MetabaseClient"
  - name: dashboard_id
    desc: "ID del dashboard a obtener"
output: "dict: objeto dashboard completo con dashcards, tabs y parámetros"
tested: false
tests: []
test_file_path: ""
file_path: "python/functions/metabase/dashboards.py"
---

## Ejemplo

```python
dash = metabase_get_dashboard(client, 1)
for dc in dash["dashcards"]:
    print(f"Card {dc['card_id']} at ({dc['col']}, {dc['row']})")
```

## Notas

Cada dashcard tiene: id, card_id, card, size_x, size_y, col, row, dashboard_tab_id, parameter_mappings.
