v1
latestOpenAPI 3.0.02026-07-142351,1971.3 MBService Level Objective Corrections
Create an SLO correction
Create an SLO correction. Use slo_id to apply the correction to a single SLO, or slo_query to apply the correction to SLOs that match a query. Exactly one of slo_id or slo_query is required.
post/api/v1/slo/correction
Request body
Example request
{
"data": {
"attributes": {
"category": "Scheduled Maintenance",
"duration": 1600000000,
"end": 1600000000,
"rrule": "FREQ=DAILY;INTERVAL=10;COUNT=5",
"slo_id": "sloId",
"slo_query": "env:prod service:checkout",
"start": 1600000000,
"timezone": "UTC"
},
"type": "correction"
}
}Response
OK
Example response
{
"data": {
"attributes": {
"category": "Scheduled Maintenance",
"duration": 3600,
"rrule": "FREQ=DAILY;INTERVAL=10;COUNT=5"
},
"type": "correction"
}
}