Alerts notify the right people when spend approaches a limit, is on course to break one, or behaves unusually, so you can act before a hard cap blocks your agents and automations.
Overview
An alert rule has three parts: a trigger that decides when it fires, one or more notifications that decide who hears about it, and cadence settings for severity and how often it is checked. To create one, click New alert rule on the Alerts tab and give it a descriptive name.
Trigger Conditions
Choose the signal that fires the alert. The fields change with the type you pick.
Trigger | Fires when | You set |
Current % of cap | Spend reaches a percentage of an existing limit. | The limit to watch and the threshold, e.g. 70% to warn, 90% for critical. |
Projected overrun | The current burn rate will break a limit before the period ends. | The limit to forecast and the threshold (default 100%). A bar shows current, cap, and projected spend. |
Spend over rolling window | Spend passes an amount within a short window. | Scope, optional specific entities, unit, amount, and window (15 minutes to 7 days), e.g. $500 in 1 hour. |
Burn rate | At the current pace, a limit will run out within a few days. | The limit and the days-remaining threshold, e.g. 7 days to warn, 3 days for urgent. |
Anomaly detection | Spend moves away from its historical normal. | Scope, optional specific entities, unit, baseline (7, 14, or 30 days), and sensitivity (2σ, 3σ, or 4σ). |
Limit picker: triggers that watch a limit list the overall budget, defaults, team caps, and overrides.
Specific entities: for any scope except Overall org, narrow the rule to chosen teams, agents, automations, users, or models instead of all of them.
Agent session is available as a scope only for anomaly detection.
Burn rate follows the error-budget burn-rate approach from Google SRE. For anomaly detection, 3σ over a 14-day baseline is a good starting point.
Notifications
Click Add notification to choose how the alert reaches people. A rule can have several:
Email: sends a summary to the addresses you add.
In-app: shows the alert inside the platform to chosen users or teams.
Custom action: passes the alert data to an automation, for example to open an incident or call an external API.
Note: Add at least one notification, or the rule fires without telling anyone. Each notification you add must be complete before the rule saves: email addresses entered, users or teams chosen, or the action configured.
Cadence & Severity
Severity: Warn for things to review during working hours, such as email or a team channel. Critical for things on-call people must act on within minutes.
Evaluation interval: how often the rule is checked: 5 min, 15 min, 1 hour, 6 hours, Daily, or Custom. Shorter intervals catch runaway agents and automations sooner but cost more to evaluate over long windows.
Description: notes or a playbook for whoever responds. Left blank, a summary of the trigger is written for you.
Turn on Enabled and click Save rule.
Example Rules
Goal | Trigger | Severity & interval |
Early warning on the budget | Current % of cap, overall budget, 70% | Warn, 1 hour |
Catch a runaway automation | Spend over rolling window, scope Automation, the automation selected, $50 in 1 hour | Critical, 5 min |
Month will overrun | Projected overrun, monthly overall budget, 100% | Warn, daily |
Unusual agent spend | Anomaly detection, scope AI Agent, 14-day baseline, 3σ | Warn, 6 hours |
Where to Go Next
Alerts fire on the caps you set in Limits. When one fires, open Usage and click the day's spike to see which model, agent, or user caused it.