> For the complete documentation index, see [llms.txt](https://docs.visualsentinel.com/llms.txt)

# UpdateAlertRuleRequest data model

The UpdateAlertRuleRequest shape in the Visual Sentinel REST API.

## Fields

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `name` | string | No | Min length 1, max length 100. |
| `description` | string | No | Max length 500. |
| `monitorId` | string (uuid) or null | No |   |
| `conditions` | object or object or array of object or object | No | A response time or uptime condition, or a list of them that must all be true. Down alerts, repeated failures and SSL expiry are sent by the built-in alerts, so rules do not accept them. |
| `severity` | string | No | One of: `INFO`, `WARNING`, `CRITICAL`. |
| `cooldownMinutes` | number | No | Greater than 0. |
| `notificationChannelIds` | array of string (uuid) | No |   |
| `enabled` | boolean | No |   |
| `scheduleStart` | string or null | No |   |
| `scheduleEnd` | string or null | No |   |
| `timezone` | string | No |   |

## Used by

- [Update alert rule](https://docs.visualsentinel.com/reference/alert-rules.md#update-alert-rule): `PUT /api/alert-rules/{id}`

Generated from the OpenAPI 3.1 specification at [https://docs.visualsentinel.com/openapi.json](https://docs.visualsentinel.com/openapi.json).
