Skip to main content
Edgee Alerts let you set up automated monitoring rules to track your AI spending and usage. Get notified instantly when API key budgets are running low, tag-based spending exceeds a threshold, or your organization’s remaining credits drop below a limit.

Alert Types

Edgee supports three types of alerts, each designed for a different monitoring scenario:

API Key Budget

Monitor individual API key usage relative to its credit limit. Get notified at 50%, 80%, or 100% of the key’s max credits.

Tag Spend

Track spending on a specific tag over a rolling time window (1h, 3h, 6h, 12h, or 24h). Trigger when cumulative spend exceeds a dollar threshold.

Remaining Credits

Monitor your organization’s total remaining credit balance. Get alerted when credits drop below a dollar threshold.

Creating an Alert Rule

Navigate to Alerts in the console sidebar. Click Create Alert Rule and configure:
1

Choose alert type

Select one of the three alert types: API Key Budget, Tag Spend, or Total Remaining Credits.
2

Select scope

Depending on the alert type:
  • API Key Budget: select the specific API key to monitor.
  • Tag Spend: select the tag to track.
  • Total Remaining Credits: automatically scoped to your organization.
3

Set threshold

  • API Key Budget: choose a trigger percentage — 50%, 80%, or 100% of the key’s max credits.
  • Tag Spend: enter a dollar amount and select a time window (1h, 3h, 6h, 12h, or 24h).
  • Total Remaining Credits: enter a minimum dollar amount.
4

Configure notifications

Enable one or both notification channels:
  • Email: enter the email address to receive alerts.
  • Slack: sends notifications to your configured Slack webhook (see Slack setup below).
At least one notification channel (email or Slack) must be enabled when creating a rule.

Notification Channels

Email

Email notifications are configured per alert rule. Each rule can have its own recipient email address, allowing you to route different alerts to different team members or distribution lists.

Slack Webhook Setup

To receive Slack notifications, configure a webhook URL for your organization:
  1. In Slack, create an Incoming Webhook for the channel where you want alerts.
  2. In the Edgee Console, go to Alerts and find the Slack Webhook configuration card.
  3. Paste your webhook URL (e.g. https://hooks.slack.com/services/...) and save.
Once configured, any alert rule with Slack enabled will post notifications to this channel.
You can configure both email and Slack on the same rule to ensure critical alerts are never missed.

Alert History

The Alert History table on the Alerts page shows every time an alert rule was triggered. Each entry includes:
  • The alert type and scope (which API key, tag, or organization)
  • The threshold value and the actual value that triggered the alert
  • Which notification channels were sent (email, Slack, or both)
  • The current status: triggered or resolved
  • When it was triggered and, if applicable, when it was resolved

Filtering History

You can filter alert history by:
  • Alert type: API Key Budget, Tag Spend, or Total Remaining Credits
  • Scope: specific API key, tag, or organization
  • Status: triggered or resolved
  • Time range: last 24 hours, last 7 days, or last 30 days

Resolving Alerts

Triggered alerts can be manually marked as resolved from the alert history. The sidebar badge shows the count of unresolved alerts, giving you a quick view of items that need attention.

Managing Alert Rules

From the Alerts page, you can:
  • Edit a rule to change its threshold, notification channels, or enabled status.
  • Disable a rule temporarily without deleting it — useful during maintenance windows or testing.
  • Delete a rule when it’s no longer needed.

Best Practices

Layer your alerts

Set multiple thresholds on the same API key (e.g. 50%, 80%, 100%) to get early warnings before hitting limits.

Use tag spend alerts for cost attribution

Combine request tags with tag spend alerts to monitor costs per feature, team, or environment.

Monitor remaining credits

Set a remaining credits alert to avoid service interruptions when your balance gets low.

Use both channels

Enable both email and Slack notifications for critical alerts to ensure they’re seen immediately.