Alerts
Configure and manage alert rules via the REST API.
Get alert config
GET /api/v1/alerts/config
Update alert config
POST /api/v1/alerts/config
{
"email": {
"enabled": true,
"recipients": ["ops@yourcompany.com"],
"severity_threshold": "CRITICAL"
},
"webhook": {
"enabled": true,
"url": "https://yourcompany.com/hooks/tokenid",
"secret": "whsec_…"
},
"digest": {
"enabled": true,
"hour_utc": 9
}
}
List alert history
GET /api/v1/alerts/history
Returns a log of all alerts fired, with payload and delivery status.