List the metrics an alert can watch
alerts.metrics.list
With platform: the metrics an alert can watch on that platform (id, label, format currency/number/percent, and higher_is_better: false when going up is bad, like CPC or bounce rate) and its recommended templates (template id, metric, operator, threshold, threshold_type, period, category and a short description in Spanish). Without platform: every platform with how many metrics and templates it has (metric_count, template_count), so ask again with platform for the detail. It is the product's static catalog: no reads and no calls to the platforms. Use a metric id here as metric in alerts.alerts.create (and a template id as template_id).
- Alcance
alerts:read- Permiso
- Ver el módulo
- Tool del MCP
alerts_metrics_listEn la superficie completa; en la compacta,mb_execute_operationconid: "alerts.metrics.list".
Costo declarado: hasta 0 lecturas y 0 escrituras por llamada (cuentan en el cupo diario).
Parámetros
platformenumqueryopcionalThe platform whose metrics and templates to list. Without it, only the platforms with how many metrics and templates each has (B6-42: the whole catalog was about 50 thousand characters).
Valores: google_ads, meta_ads, tiktok_ads, tiktok, linkedin_ads, linkedin_page, google_analytics, google_search_console, google_business_profile, facebook_page, instagram, youtube
Respuesta
dataarray<object>One item per platform (only the asked platform with platform).
Errores
Ejemplo
curl "https://api.mb-suite.com/v1/alerts/metrics" \
-H "Authorization: Bearer $MB_API_KEY"Probar con tu API key de prueba
Con una API key de prueba el pedido va siempre a tu organización de práctica: datos de ejemplo que puedes reiniciar.
curl "https://api.mb-suite.com/v1/alerts/metrics" \
-H "Authorization: Bearer $MB_TEST_KEY"