47fac22230
- .claude/CLAUDE.md - .claude/commands/subagentes.md - .claude/rules/INDEX.md - .mcp.json - bash/functions/cybersecurity/analyze_dns.md - bash/functions/cybersecurity/audit_http_headers.md - bash/functions/cybersecurity/audit_ssh_config.md - bash/functions/cybersecurity/check_firewall.md - bash/functions/cybersecurity/detect_suspicious_users.md - bash/functions/cybersecurity/encrypt_file.md - ... Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1.9 KiB
1.9 KiB
name, kind, lang, domain, version, purity, signature, description, tags, uses_functions, uses_types, returns, returns_optional, error_type, imports, params, output, tested, tests, test_file_path, file_path
| name | kind | lang | domain | version | purity | signature | description | tags | uses_functions | uses_types | returns | returns_optional | error_type | imports | params | output | tested | tests | test_file_path | file_path | |||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| metabase_list_dashboards | function | go | infra | 1.0.0 | impure | func MetabaseListDashboards(client MetabaseClient, filter string) ([]map[string]any, error) | Lista dashboards de Metabase con filtro opcional. Retorna array de dashboards resumidos (sin dashcards). Endpoint: GET /api/dashboard. |
|
|
false | error_go_core |
|
|
slice de maps con resumen de cada dashboard (sin dashcards completas) | false | functions/infra/metabase_list_dashboards.go |
Ejemplo
// Listar todos los dashboards
dashboards, err := MetabaseListDashboards(client, "all")
// Solo mis dashboards
dashboards, err := MetabaseListDashboards(client, "mine")
// Dashboards archivados
dashboards, err := MetabaseListDashboards(client, "archived")
Notas
Parametros para un LLM
| Parametro | Tipo | Requerido | Descripcion |
|---|---|---|---|
| client | MetabaseClient | si | Cliente autenticado |
| filter | string | no | "all", "mine", "archived". Vacio = todas |
Retorna dashboards resumidos (sin cards). Para ver las cards de un dashboard, usar MetabaseGetDashboard.
Campos principales de cada dashboard
| Campo | Tipo | Descripcion |
|---|---|---|
| id | float64 | ID del dashboard |
| name | string | Nombre |
| description | string | Descripcion |
| collection_id | float64 | Coleccion contenedora |
| creator_id | float64 | ID del creador |
| archived | bool | Archivado |
| created_at | string | Fecha creacion |