get_alert_rules
Fetch the calling tenant's alert rules. READ: available to any authenticated user.
Omit ruleId to list every rule; supply ruleId to fetch a single rule. Either way returns the full rule definition (source, filter, measure, groupBy, compiledQuerySql, condition).
This does not say where a rule's alerts are delivered. To state where they go, call get_notification_destinations with source "alerting" and the rule id as subject, and report what that call returns. To change where they go, call set_notification_destinations with the same source and subject.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ruleId | No | Optional rule id (UUID); omit to list every rule for the tenant |