Margin Intelligence
Margin Alerts
Margin floor alerts and cost spike detection
Margin alerts help you detect when profitability drops below acceptable thresholds.
Margin floor:
The can() endpoint can include a min_margin_percent field. When a customer’s margin drops below this threshold, you can take action — warn them, throttle usage, or adjust pricing.
Using trend data for spike detection:
React-side usage alerts:
The UsageAlert component shows warnings when usage approaches limits: