Get Alert Rules
get_alert_rulesFetch 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_alert_rule_destinations and report what it returns. To change where they go, call set_alert_rule_destinations.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ruleId | No | Optional rule id (UUID); omit to list every rule |