---
name: metabase_get_card
kind: function
lang: py
domain: infra
version: "1.0.0"
purity: impure
signature: "def metabase_get_card(client: MetabaseClient, card_id: int) -> dict"
description: "Obtiene detalles completos de una card/pregunta de Metabase incluyendo query, visualizacion y metadata. Endpoint: GET /api/card/:id."
tags: [metabase, card, question, 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: card_id
    desc: "ID de la card a obtener"
output: "dict: objeto card completo con query, visualización y metadata"
tested: false
tests: []
test_file_path: ""
file_path: "python/functions/metabase/cards.py"
---

## Ejemplo

```python
card = metabase_get_card(client, 42)
print(card["name"], card["display"])
```

## Notas

Error 404 si no existe.
