CreateAlertRuleRequest data model
The CreateAlertRuleRequest shape in the Visual Sentinel REST API.
Fields
| Field | Type | Required | Description |
|---|---|---|---|
name | string | Yes | Min length 1, max length 100. |
description | string | No | Max length 500. |
monitorId | string (uuid) or null | No | Default: null. |
conditions | object or object or array of object or object | Yes | 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. Default: WARNING. |
cooldownMinutes | number | No | Default: 5. Greater than 0. |
notificationChannelIds | array of string (uuid) | No | Default: []. |
enabled | boolean | No | Default: true. |
scheduleStart | string or null | No | |
scheduleEnd | string or null | No | |
timezone | string | No | Default: UTC. |
Used by
- Create alert rule:
POST /api/alert-rules
Generated from the OpenAPI 3.1 specification at https://docs.visualsentinel.com/openapi.json.