manage_alerts
Set up and manage alerts to monitor AI spending anomalies using spike detection, budget thresholds, or relative change tracking with persistence-based triggering.
Instructions
AI spending alerts and anomaly monitoring with three alert types: (1) Spike Detection - create_threshold_alert for real-time monitoring, (2) Budget Threshold - create_cumulative_usage_alert for period tracking, (3) Relative Change - create with alertType RELATIVE_CHANGE and INCREASES_BY/DECREASES_BY operators for trend detection. Supports persistence-based triggering with triggerAfterPersistsDuration. Use get_examples() for comprehensive usage guidance.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| alert_id | No | ||
| name | No | ||
| metric | No | ||
| threshold | No | ||
| period | No | ||
| period_minutes | No | ||
| No | |||
| slack_config_id | No | ||
| triggerAfterPersistsDuration | No | ||
| periodDuration | No | ||
| filters | No | ||
| page | No | ||
| size | No | ||
| dry_run | No | ||
| confirm | No | ||
| alert_type | No | ||
| text | No | ||
| query | No | ||
| resource_type | No | anomalies | |
| anomaly_id | No | ||
| anomaly_ids | No | ||
| anomaly_data | No | ||
| description | No | ||
| tags | No | ||
| enabled | No | ||
| alertType | No | ||
| metricType | No | ||
| slackConfigurations | No | ||
| notificationAddresses | No |