Skip to main content
This page explains the concepts. To turn it on step by step, follow the usage-alerts setup guide.

How alerts fire

A usage alert watches one billable metric on one subscription and fires when the current period’s aggregated usage crosses a threshold. Each alert fires at most once per billing period (an atomic claim dedups concurrent evaluations), through two channels:
  • the usage.alert.triggered webhook event, to your endpoints
  • an email to the customer
Typical uses: “warn at 80% of quota”, “tell me when a customer crosses 1M calls”, auto-triggering top-ups or upsell flows from the webhook.

Create an alert

Two threshold types: Multiple thresholds on the same metric are allowed (e.g. 80% and 100%); each fires independently, once per period.

The webhook payload

Alerts re-arm automatically when the billing period rolls over.

Manage alerts

Pair a percent_of_limit: 80 alert with the entitlements limit that powers your “used X of Y” display — one configuration drives both the UI meter and the warning.