---
name: metabase_get_user
kind: function
lang: py
domain: infra
version: "1.0.0"
purity: impure
signature: "def metabase_get_user(client: MetabaseClient, user_id: int) -> dict"
description: "Obtiene los detalles de un usuario de Metabase por su ID. Endpoint: GET /api/user/:id."
tags: [metabase, user, get, api, python, pendiente-usar]
uses_functions: []
uses_types: []
returns: []
returns_optional: false
error_type: "error_go_core"
imports: [httpx]
params:
  - name: client
    desc: "instancia autenticada de MetabaseClient"
  - name: user_id
    desc: "ID del usuario a obtener"
output: "dict: objeto usuario con email, nombre, permisos y metadata"
tested: false
tests: []
test_file_path: ""
file_path: "python/functions/metabase/users.py"
---

## Ejemplo

```python
user = metabase_get_user(client, 1)
print(user["email"], user["is_superuser"])
```

## Notas

Error 404 si el usuario no existe.
