---
title: "List the SLAs"
method: GET
path: "/api/v1/account/organizations/{id}/slas"
tags: ["SLA"]
---

# List the SLAs

`GET /api/v1/account/organizations/{id}/slas`

## Request

- Base URL: `https://pcp.example.com`
- URL: `https://pcp.example.com/api/v1/account/organizations/{id}/slas`
- Auth: HTTP bearer

## Path parameters

- `id` string, uuid, required

## Query parameters

- `search` string
- `status` 'active' | 'draft'
- `offset` integer
- `limit` integer

## Response `200`

OK

- GetSLAResponsePage: PaginatedResponse_sla.GetSLAResponse schema
  - `items` object[]
    - `check_history` object[]
      - `date` string, date-time
      - `status` string
    - `compliance_rate` number, double
    - `connectors` integer
    - `id` string, uuid
    - `last_checked_at` string, date-time, nullable
    - `lookback` object
      - `unit` string
      - `value` integer
    - `name` string
    - `resources` integer
    - `rpo` object
      - `unit` string
      - `value` integer
    - `status` string
  - `total` integer

## Other responses

- `400`: Bad Request _(validation or deserialization error)_
- `401`: Missing, invalid or expired credentials
- `403`: The caller may not do this
- `500`: Internal Server Error _(panics)_
- `default`

---

[API](https://skmtc.dev/plakar/apis/plakar-control-plane-api-v1.md) - [All operations](https://skmtc.dev/plakar/apis/plakar-control-plane-api-v1/llms.txt) - [OpenAPI document](https://skmtc.dev/plakar/apis/plakar-control-plane-api-v1/revisions/2ac049494a01?raw)
