Alerts
Alerts tell you when your credit is getting low or your daily spend is high, so requests don't stop by surprise.
The three alerts
| Alert | Fires when | How often |
|---|---|---|
| Low-credit alert | Your credit falls below the threshold you set. | Once each time the balance drops below it. After you add credit and the balance drops below the threshold again, the alert fires again. |
| Daily-spend alert | Today's spend reaches the threshold you set. The day runs midnight to midnight UTC. | At most once a day. |
| Credit exhausted | Your credit runs out. This alert is always on. | Once each time credit runs out. |
When credit runs out, requests fail with HTTP 402 until you add credit. See Credits and billing.
How you're notified
Divyam shows each alert under the bell in the console and emails it to the addresses in Email recipients. If you haven't saved any recipients, the credit-exhausted email goes to the account owner. Alerts can take a few minutes to arrive after the request that caused them.
Set up alerts
- Select Alerts in the console.
- Under Email recipients, enter a Recipient email and select Add. You can add up to five addresses.
- For Low-credit alert, Daily-spend alert or both, check Enable and enter a Threshold in your account's currency.
- Select Save alerts.
To stop an alert, clear Enable and select Save alerts. Turning on an alert needs at least one recipient.