Create an alert
Dashboard: open Alerts in the sidebar and click New alert. Pick what to watch, which agent’s calls (or all agents), the threshold and the time window, and where to send it. API:
Each alert needs a webhook, a Slack webhook, or both. An organization can have up to 20 alerts.
What you can watch
How alerts are checked
Every alert is checked every 5 minutes over its time window. When the value crosses the threshold the alert fires and sends one notification. It sends nothing more while it stays over the threshold, then sends one more when it resolves. Changing an alert’s condition takes effect at the next check: an alert that no longer meets its new condition resolves. To see an alert’s current value without sending anything, callGET /v1/alert-rules/{id}/value. To check your endpoints, POST /v1/alert-rules/{id}/test (or the send icon in the dashboard) sends a test notification. GET /v1/alert-rules/{id}/events lists past notifications with the delivery result for each channel.
Webhook payload
event is alert.triggered, alert.resolved or alert.test. sample is the number of calls (or tool calls, or webhooks) the value was computed from. Alert webhooks are signed like your other webhooks when you have a signing secret.
Slack messages carry the alert name and the same summary line.