Update Alert
update-alertModify an alert's query, schedule, recipients, name, or enabled state.
Instructions
Update an alert's query, schedule, recipients, name, or enabled state.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Alert name | |
| query | Yes | GNQL query the alert monitors | |
| enabled | No | Whether the alert is active | |
| alert_id | Yes | Alert ID (UUID) | |
| schedule | Yes | When the alert query runs and notifies | |
| recipients | Yes | Where to send alert notifications | |
| workspace_id | No | Workspace ID (UUID). Defaults to the workspace the API key is bound to. | |
| query_workspace_id | No | Workspace to run the query against, if different |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| name | No | ||
| type | No | ||
| status | No | ||
| enabled | No | ||
| schedule | No | ||
| created_at | No | ||
| gnql_query | No | ||
| parameters | No | ||
| recipients | No | ||
| updated_at | No | ||
| workspace_id | No | ||
| query_workspace_id | No |