lift alerts
View alerts and manage alert rules for your project via the OneLift platform API.
lift alerts
List recent alerts and manage alert rules for your project. Alert data is fetched from the OneLift platform API.
Requires environment variables: LIFT_API_URL, LIFT_API_TOKEN, and optionally LIFT_PROJECT_ID.
Options
| Flag | Description | Default |
|---|---|---|
--level <severity> | Filter by severity: critical, warning, info | all |
--since <duration> | Time window: 24h, 7d, 30d, or all | 24h |
--limit <n> | Maximum number of alerts to show | 20 |
Examples
# Show recent alerts (last 24 hours)
lift alerts
# Filter by severity
lift alerts --level critical
# Show alerts from last 7 days
lift alerts --since 7d
# JSON output for scripting
lift alerts --output jsonl
Subcommands
lift alerts rules
List all alert rules configured for the project.
lift alerts rules
lift alerts rules --output jsonl
lift alerts ack <alert-id>
Acknowledge an alert by its document ID.
lift alerts ack abc123
Related
- lift notify - Manage notification channels for alerts
- lift status - Check container status