Get an SLO's details
GET {{baseUrl}}/api/v1/slo/:slo_id?with_configured_alert_ids=true
Get a service level objective object.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
with_configured_alert_ids | boolean | Get the IDs of SLO monitors that reference this SLO. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Accept | string |
RESPONSES
status: OK
{"data":{"configured_alert_ids":[123,456,789],"created_at":17466638,"creator":{"email":"proident ex ullamco","handle":"laborum ad ex non","name":"officia dolor consectetur nisi"},"description":"est id","groups":["env:prod","role:mysql"],"id":"esse cillum anim ","modified_at":-26273532,"monitor_ids":[-91642399,93741],"monitor_tags":["aliquip nulla Lorem ut","reprehenderit velit"],"name":"Custom Metric SLO","query":{"numerator":"sum:my.custom.metric{type:good}.as_count()","denominator":"sum:my.custom.metric{*}.as_count()"},"tags":["env:prod","app:core"],"target_threshold":99.9,"thresholds":[{"target":95,"timeframe":"7d"},{"target":95,"timeframe":"30d","warning":97}],"timeframe":"30d","type":"metric","warning_threshold":99.95},"errors":["consectetur velit","elit in"]}