CreateAlertRule
Create a new alert rule with threshold and notification settings
POST
/api/v1/alerting/rulesOperation ID
CreateAlertRuleSince
1.0.0Execution Mode
SynchronousAuth Context
Auth RequiredAuth Context
Send these values as request headers when calling this API.
AuthorizationstringRequiredBearer Token
X-Tenant-IDstringX-Tenant-ID
Request Inputs
application/jsonBody Fields
nameStringRequiredHuman-readable name for the new alert rule
Example: High CPU Usage
descriptionStringRequiredDetailed description of the rule purpose
Example: Alert when CPU exceeds 90%
resourceTypeStringRequiredResource type to monitor (e.g. vm, host)
Example: vm
metricNameStringRequiredMetric name to evaluate
Example: cpu_usage_percent
operatorStringRequiredComparison operator for threshold check
Example: >
