Skip to content

KB / api

GET /api/v1/alerts/summary

Last verified

Auto-generated. This article is rebuilt from FastAPI route introspection by scripts/build_api_kb.py. Edit the route docstring in app/ and re-run the script — do not edit this file directly.

GET /api/v1/alerts/summary

Handler: app.signals.routes.get_alerts_summary
Methods: GET

Description

Rollup of active alerts into counts, dominant theme, and oldest unresolved age.

Designed for small-context consumers (agents, status badges) that want one sentence of narrative without parsing the full alerts list. Theme selection:

  1. Map each active alert to its theme via alert_themes.json.
  2. Pick the theme whose highest-severity active alert ranks highest (critical > warning > info), ties broken by count, then by the declared _priority_order.

Curl

curl -s https://bigclawd.com/api/v1/alerts/summary