W&B supports two types of alerts: automated alerts configured in User Settings (run finished, run crashed) and programmatic alerts fired from inside your training code withDocumentation Index
Fetch the complete documentation index at: https://wb-21fd5541-kb-refresh.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
wandb.alert().
Automated alerts via User Settings
Go to wandb.ai/settings and scroll to the Alerts section. You can enable:
- Run finished — notifies you when any run in your projects completes successfully.
- Run crashed — notifies you when a run exits without calling
wandb.finish().
wandb.alert() in notebooks instead.
Programmatic alerts with wandb.alert()
Send an alert from anywhere in your training loop:
wandb.AlertLevel.INFO, wandb.AlertLevel.WARN, and wandb.AlertLevel.ERROR. The level controls the visual appearance of the notification but does not affect delivery.
Preventing alert spam with wait_duration
If your training loop could trigger the same alert repeatedly, use wait_duration to throttle:
wait_duration set, subsequent calls with the same title are silently skipped until the duration has elapsed.
Team-level alerts
Automated alerts in User Settings apply to your personal account. For team-wide alerting (for example, notifying a shared Slack channel when any team member’s run crashes), each team member must connect their own Slack in their User Settings, or use a shared service account with Slack connected. Team-level alert configuration is not available directly in the UI today—wandb.alert() in code with a shared Slack webhook is the recommended workaround.
Alerts Experiments Runs