SLO & Service Quality/SLO
POSTSLOSince 1.0SynchronousAuth Required
CreateObjective
Create a new SLO objective linked to an SLI with a target ratio and window.
Execution Availability
Try It Out
Submit a mock request using the current auth context and example-driven inputs.
Request Inputs
Body Fields
nameStringRequiredHuman-readable name for the new SLO objective.
Example: api-availability-99.9
sliIdStringRequiredIdentifier of the SLI this objective is based on.
Example: sli-abc123
targetLongRequiredTarget compliance ratio (0.0–1.0).
Example: 0.999
windowStringRequiredRolling compliance window: 7d | 30d | 90d.
Example: 30d
tenantIdStringRequiredTenant that will own this SLO objective.
Example: tenant-001
Responses
Endpoint
POST/api/v1/slo/objectives
/api/v1/slo/objectives
Request Example
curl -X POST '{host}/api/v1/slo/objectives' -H 'Authorization: Bearer {token}' -H 'Content-Type: application/json' -d '{"name":"api-availability-99.9","sliId":"sli-abc123","target":0.999,"window":"30d","tenantId":"tenant-001","alertOnBurnRate":true,"ownerTeam":"platform-infra"}'
Response Example
200{
"id": "slo-xyz789",
"name": "api-availability-99.9",
"sliId": "sli-abc123",
"target": 0.999,
"window": "30d",
"tenantId": "tenant-001",
"alertOnBurnRate": true,
"ownerTeam": "platform-infra"
}Change History
This API has no change history records yet.
