Integrating · Published 2026-11-29 · Updated 2026-11-29 · AgentiSend
Volume alarms
A key that sends more in one hour than usual emails its owners. The line is 100, then 5 times the usual hour after 24 sending hours.
Each API key has a line for how many real messages it sends in one hour. Messages to a simulator address are not counted.
A key with fewer than 24 distinct hours that had a send, in the last 14 days, uses a line of 100. A key with that history uses the higher of 100 and 5 times its usual hour. The usual hour is the median of those hours, not an average of the quiet ones. The alarm fires when the current hour is over the line, not when it is equal to it.
The account’s owners and admins get one email per key while the alarm stays open, and at most one of those emails per day. The same fact is an event named api_key.volume_alarm.
On the key in the console, the banner offers two actions. Pause this key stops the key the same way the kill switch does. This is expected treats this hour’s count as the new usual hour for 14 days and stays quiet for 24 hours.
A key can pause itself when the hour crosses the line. That is off until you turn it on.
Read the line with GET /api-keys/{id}/volume-alarm. Change it with PATCH /api-keys/{id}/volume-alarm. multiplier is a whole number from 2 to 20. floor_per_hour is a whole number from 1 to 1,000,000. auto_pause is true or false. expected: true is the “this is expected” action. The same numbers are on GET /api-keys/{id}/report under volume_alarm, and on the get_agent_report tool.