CreateRemediationPolicy
Create an automated remediation policy that triggers actions based on metric conditions
POST
/api/v1/monitoring/remediation-policiesOperation ID
CreateRemediationPolicySince
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
nameStringRequiredDisplay name for the new policy
Example: High CPU Auto-Restart
enabledBooleanRequiredWhether to activate the policy immediately
Example: true
agentSelectorLinkedHashMapRequiredLabel selector to match target agents
Example: (nested object)
conditionOpStringRequiredLogical condition combinator (AND, OR)
Example: AND
conditionsListRequiredConditions for this resource
Example: (nested array)
metricNameStringName of the metric to evaluate as a condition
Example: cpu_usage_percent
operatorStringComparison operator (e.g. >, =, <=, ==)
Example: >
thresholdLongThreshold value for the condition
Example: 90
