deeprelay alerts
View and change the low-balance threshold and alert emails
View and change the low-balance threshold and alert emails
Synopsis
View and change your organization's alert settings: the low-balance threshold and which alert emails go out. deeprelay emails you before a balance, plan allowance, key budget or member limit runs out, so a stopped workload is never the first sign.
There are four kinds of alert:
| Alert | When it fires | Who gets the email |
|---|---|---|
| Low balance | Your balance drops below your threshold ($5.00 unless you change it) | Org admins |
| Plan allowance | 80% and 100% of any plan allowance (monthly or weekly, input or output) | Org admins |
| Key budgets | 80% and 100% of a key's monthly budget | Org admins and the key's creator |
| Member spend | 80%, 95% and 100% of a member's spending limit | Org admins and the member |
The threshold is the only number you set. The percent steps are fixed. Each alert sends one email per crossing. It sends again only after the value resets or falls back below the line.
Every email is on by default. Turning one off stops the email to org admins (and to a key's creator) for that kind. The member always receives their own limit emails. Turning off Member spend does not stop those.
Anyone in the organization can read the settings. Changing them requires an org admin, or a full_access key. That is the same rule as deeprelay spend-limit; keys:manage is not enough. The same settings appear in the dashboard under Settings → Alerts.
Webhook events for these alerts are configured separately, with deeprelay webhooks.
deeprelay alerts [command]
Options
-h, --help help for alerts
Options inherited from parent commands
--api-base string API base URL (override with DEEPRELAY_API_BASE env) (default "https://api.deeprelay.ai/v1")
--debug Enable debug logging to stderr
--no-preflight Skip the plan/credit check before inference requests (override with DEEPRELAY_NO_PREFLIGHT env)
-o, --output string Output format: table|json (default table on TTY, json otherwise) (default "table")
SEE ALSO
- deeprelay - deeprelay command-line interface
- deeprelay alerts get - Show the org's alert settings
- deeprelay alerts set - Change the low-balance threshold or turn alert emails on or off