Get Slo By ID
GET {{baseUrl}}/slo/:sloID?owner_id=<string>
Returns a slo details of the given sloID
in the request param.
Requires access_token
as a Bearer {{token}}
in the Authorization
header with read
scope.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
owner_id | string |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | null |
RESPONSES
status: OK
{"data":{"insights":{"error_budget_consumption_for_past_30days":0},"slo":{"id":1144,"name":"test[punit]112","description":"test","time_interval_type":"fixed","service_ids":["62b2c18bca440a666897233d"],"slis":["availability","latency","errors","saturation"],"target_slo":90,"current_slo":100,"start_time":"2022-07-18T07:20:31.225Z","end_time":"2023-07-18T07:20:31.224Z","is_healthy":true,"remaining_error_budget":52560.008,"allocated_error_budget":52560.008,"is_active":true,"tags":{"Type":"test","Environment":"abc"},"incident_count":0,"false_positive_count":0,"slo_monitoring_checks":[{"id":1453,"slo_id":1144,"name":"is_unhealthy_slo","threshold":0,"owner_type":"","owner_id":"6284813de5b66bb4f729278b","is_checked":true},{"id":1454,"slo_id":1144,"name":"increased_false_positives_threshold","threshold":0,"owner_type":"","owner_id":"6284813de5b66bb4f729278b","is_checked":true},{"id":1455,"slo_id":1144,"name":"remaining_err_budget_threshold","threshold":0,"owner_type":"","owner_id":"6284813de5b66bb4f729278b","is_checked":true}],"slo_actions":[{"id":1883,"slo_id":1144,"type":"SERVICE","user_id":"","squad_id":"","service_id":"62b2c18bca440a666897233d","owner_type":"","owner_id":"6284813de5b66bb4f729278b"},{"id":1884,"slo_id":1144,"type":"USER","user_id":"60f12dd3814bef0008c4036e","squad_id":"","service_id":"","owner_type":"","owner_id":"6284813de5b66bb4f729278b"}],"owner_type":"","owner_id":"6284813de5b66bb4f729278b","org_id":"60cb200bc9de4a0008d2fc41"}}}