GET /api/admin/alarms: alarm states, hourly error metrics for the last 48 h and the webhook DLQ depth. Each part fails soft ({available:false}) so the panel renders without AWS. One DescribeAlarms serves both alarms and metrics.Staff cookie session; permission alarms.read.Source snapshot: admin/src/app/api/admin/alarms/route.ts. This reference describes the current working tree, not proof of deployment. The response service types and validators remain authoritative.
Request
Authorization
API Key
Add parameter in cookie
__Host-hwa_session
Example:
__Host-hwa_session: ********************
or
Responses
🟢200
application/json
GET /api/admin/alarms: alarm states, hourly error metrics for the last 48 h and the webhook DLQ depth. Each part fails soft ({available:false}) so the panel renders without AWS. One DescribeAlarms serves both alarms and metrics.