Skip to main content
SLO & Service Quality/SLO
GETSLOSince 1.0SynchronousAuth Required

GetCurrentStatus

Get the real-time compliance status and error budget for an SLO objective.

Execution Availability

Try It Out

Submit a mock request using the current auth context and example-driven inputs.

Path Parameters

Request Inputs

Path Parameters

  • sloIdStringRequired

    Unique identifier of the SLO objective to query.

Responses

200 OK

On success, this API returns the following response structure.

  • sloIdString

    Identifier of the SLO objective being reported.

    Example: slo-xyz789

  • currentSliLong

    Current measured SLI value within the compliance window.

    Example: 0.9985

  • targetSliLong

    Target SLI value that the objective aims to meet.

    Example: 0.999

  • statusString

    Compliance status: MEETING | AT_RISK | BREACHED.

    Example: MEETING

  • remainingErrorBudgetRatioLong

    Fraction of the error budget still remaining (0.0–1.0).

    Example: 0.65

  • errorBudgetConsumedPctLong

    Percentage of the error budget that has been consumed.

    Example: 35

  • windowStartString

    Start of the current compliance measurement window.

    Example: 2026-01-15T08:00:00Z

  • windowEndString

    End of the current compliance measurement window.

    Example: 2026-01-15T08:00:00Z

  • cachedAtString

    Timestamp when this status was last cached.

    Example: 2026-01-15T08:00:00Z

Endpoint

GET/api/v1/slo/objectives/{sloId}/current

/api/v1/slo/objectives/{sloId}/current

Operation ID

GetCurrentStatus

Permalink

Request Example

curl -X GET '{host}/api/v1/slo/objectives/{sloId}/current' -H 'Authorization: Bearer {token}'

Response Example

200
{
  "sloId": "slo-xyz789",
  "currentSli": 0.9985,
  "targetSli": 0.999,
  "status": "MEETING",
  "remainingErrorBudgetRatio": 0.65,
  "errorBudgetConsumedPct": 35.0,
  "windowStart": "example",
  "windowEnd": "example"
}

Change History

This API has no change history records yet.

View all change history