alerts_update
Update an existing SQL alert by specifying its ID, name, query ID, and trigger condition. Modify notify settings, schedule, and other optional parameters.
Instructions
Update an existing SQL alert.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Alert ID | |
| name | Yes | Alert name | |
| query_id | Yes | ID of the saved query to evaluate | |
| condition | Yes | Trigger condition: {'op': '>' | '<' | '>=' | '<=' | '==' | '!=', 'operand', 'threshold'} | |
| notify | No | Notify settings: {'subscribers': [...]} | |
| options | No | ||
| rearm | No | ||
| schedule | No | ||
| parent | No | ||
| evaluation | No | ||
| run_as_role | No | OWNER | VIEWER | |
| custom_subject | No | ||
| custom_body | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |