v1

latestOpenAPI 3.0.02026-07-141,4077,1665.2 MB
Service Level Objectives

Get SLO status

Get the status of a Service Level Objective (SLO) for a given time period.

This endpoint returns the current SLI value, error budget remaining, and other status information for the specified SLO.

get/api/v2/slo/{slo_id}/status

Path parameters

slo_idstring required
Example:00000000-0000-0000-0000-000000000000

The ID of the SLO.

Query parameters

from_tsinteger required
Example:1690901870

The starting timestamp for the SLO status query in epoch seconds.

to_tsinteger required
Example:1706803070

The ending timestamp for the SLO status query in epoch seconds.

disable_correctionsboolean

Whether to exclude correction windows from the SLO status calculation. Defaults to false.

Response

OK

Example response

{
  "data": {
    "attributes": {
      "error_budget_remaining": 99.5,
      "raw_error_budget_remaining": {
        "unit": "seconds",
        "value": 86400.5
      },
      "sli": 99.95,
      "span_precision": 2,
      "state": "ok"
    },
    "id": "00000000-0000-0000-0000-000000000000",
    "type": "slo_status"
  }
}