alerts
Manage the Alerts of your AI Agent: the rules that watch its health metrics, and the people who get the alert emails. A rule watches one metric and sends an alert when the metric breaks the rule.
Commands
Examples
Check a rule on the data of the last 14 days before you create it:
Create a rule that sends an alert when containment drops 12 points below usual:
Create a rule that sends an alert when volume goes below 50:
Turn on the alert emails for yourself and a colleague:
List the alerts of the last 24 hours:
Details
- A rule uses a threshold or a relative change. For a threshold, use
--minand--max. Passnoneto remove a limit. - For a relative change, use
--directionand--min-change. For a rate,0.12is 12 points. For a count, the value is a ratio, such as2. --baseline-dayssets the past data that gives the usual value:1,7,14, or28. The default oncreateis14.- Leave out
--channeloncreateto watch all channels. Onupdate, pass""for all channels. email addandemail removeare for owners and admins only. The API refuses an address on a public domain, such as gmail.com. An AI Agent has a maximum of 5 outside addresses.email enableandemail disablechange all the users that you name, or none of them.- If the alert email endpoint on the Webhooks page is off, no email goes out. Turn it on again on the Webhooks page.
For every option of a command, run it with --help, for example adacli acme alerts rules create --help.
Related commands
analytics: read the metrics that a rule watches.conversations: find the conversations behind an alert.