Get a service's alert rules
The same shape as GET /alert-rules, with the per-service rules only. The overrides of the service are in GET /database-services/{id}/alert-overrides.
GET
/api/v1/database-services/{id}/alert-rulesAuthorization
tse_sessionAPI key · cookierequiredPath parameters
idstringrequiredResponses
200
OK
rulesAlertRuleSetting[]requiredShow propertiesHide properties
Array of
AlertRuleSettingconfigurablebooleanrequiredFalse for the heartbeat
defaultSeveritystringrequiredwarning or critical; empty for the heartbeat
enabledbooleanrequiredgroupstringrequiredAllowed:
infrastructuredatabaseconsolenamestringrequiredscopestringrequiredservice rules can be overridden per database service
Allowed:
serviceconsoleseveritystringrequiredThe global severity; empty for the heartbeat
summarystringrequiredthresholdAlertRuleThreshold | nullrequirednull when the rule has no threshold
Show propertiesHide properties
Any of:
AlertRuleThreshold
defaultinteger<int64>requiredThe shipped default
labelstringrequiredWhat the number means
maxinteger<int64>requiredmininteger<int64>requiredunitstringrequiredAllowed:
percenthourssecondsdaysvalueinteger<int64>requiredThe global value
null
nulldefault
Error
codestringStable code of the refusal, when the route has codes
detailsstring[]Additional detail, e.g. per-field validation failures
errorstringrequiredHuman-readable error message