Skip to main content

Alerting

Foil’s alerting system detects AI quality issues in real-time and notifies you via email or SMS.

Alert Types

Foil detects two categories of issues:

Threshold-Based Alerts

Triggered when metrics exceed configured limits:

LLM-Analyzed Alerts

Foil uses AI to detect quality issues:

How It Works

Per-Agent Configuration

Configure alerts in the dashboard or via API:

Configuration Options

Alert Severity

Alert Lifecycle

Email and SMS notifications are configured in the Foil dashboard.

Rate Limiting

To prevent alert fatigue, Foil implements rate limiting:
  • Cooldown period: Minimum time between notifications for the same alert type
  • Default: 5 minutes
  • Configurable: Per alert type in agent settings

Best Practices

Begin with higher confidence thresholds (0.8+) and lower as you understand your baseline.
Set longer cooldowns for non-critical alerts to reduce noise.
Only use ‘critical’ severity for safety issues that need immediate attention.
Different agents may need different thresholds. A creative writing agent might tolerate more “hallucination” than a factual Q&A bot.

Next Steps

Analytics

View alert trends

Agents

Configure per-agent settings