CreateBudgetAlert
Create a burn-rate alert configuration for an SLO objective.
Execution Availability
Try It Out
Submit a mock request using the current auth context and example-driven inputs.
Path Parameters
Request Inputs
Path Parameters
sloIdStringRequiredIdentifier of the SLO objective to attach the alert to.
Body Fields
configObjectRequiredAlert configuration to create for the specified SLO objective.
idStringUnique identifier of the budget alert configuration.
Example: alert-cfg-001
sloIdStringIdentifier of the SLO objective this alert is associated with.
Example: slo-xyz789
consumedPctThresholdLongConsumption percentage threshold that triggers the alert.
Example: 80
severityStringSeverity level of the alert: warning | critical.
Example: warning
notificationChannelsListList of notification channel identifiers to alert.
Example: item1,item2
Responses
Endpoint
POST/api/v1/slo/objectives/{sloId}/budget-alerts
/api/v1/slo/objectives/{sloId}/budget-alerts
Request Example
curl -X POST '{host}/api/v1/slo/objectives/{sloId}/budget-alerts' -H 'Authorization: Bearer {token}' -H 'Content-Type: application/json' -d '{"config":{"id":"alert-cfg-001","sloId":"slo-xyz789","consumedPctThreshold":80.0,"severity":"warning","notificationChannels":"item1,item2"}}'
Response Example
200{
"id": "alert-cfg-001",
"sloId": "slo-xyz789",
"consumedPctThreshold": 80.0,
"severity": "warning",
"notificationChannels": []
}Change History
This API has no change history records yet.
