---
title: "Get SLO status"
method: GET
path: "/api/v2/slo/{slo_id}/status"
tags: ["Service Level Objectives"]
---

# Get SLO status

`GET /api/v2/slo/{slo_id}/status`

## Request

- Base URL: `https://api.datadoghq.com`
- URL: `https://api.datadoghq.com/api/v2/slo/{slo_id}/status`
- Auth: one of:
  - API key in header `DD-API-KEY` and API key in header `DD-APPLICATION-KEY`
  - OAuth 2
    - Authorization code: `/oauth2/v1/authorize`
    - Token URL: `/oauth2/v1/token` scopes: `slos_read`

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.

## Path parameters

- `slo_id` string, required

## Query parameters

- `from_ts` integer, required
- `to_ts` integer, required
- `disable_corrections` boolean

## Response `200`

OK

- SloStatusResponse: The SLO status response.
  - `data` SloStatusData, required: The data portion of the SLO status response.
    - `attributes` SloStatusDataAttributes, required: The attributes of the SLO status.
      - `error_budget_remaining` number, double, required: The percentage of error budget remaining.
      - `raw_error_budget_remaining` RawErrorBudgetRemaining, required: The raw error budget remaining for the SLO.
        - `unit` string, required: The unit of the error budget (for example, `seconds`, `requests`).
        - `value` number, double, required: The numeric value of the remaining error budget.
      - `sli` number, double, required: The current Service Level Indicator (SLI) value as a percentage.
      - `span_precision` integer, required: The precision of the time span in seconds.
      - `state` string, required: The current state of the SLO (for example, `breached`, `warning`, `ok`).
    - `id` string, required: The ID of the SLO.
    - `type` 'slo_status', required: The type of the SLO status resource.

## Other responses

- `400`: Bad Request
- `403`: Forbidden
- `404`: Not Found
- `429`: Too many requests

---

[API](https://skmtc.dev/datadog/apis/datadog-api-v2-collection.md) - [All operations](https://skmtc.dev/datadog/apis/datadog-api-v2-collection/llms.txt) - [OpenAPI document](https://skmtc.dev/datadog/apis/datadog-api-v2-collection/revisions/da68bf029e4c?raw)
