---
search:
  tags:
    - alerts
    - GET
seo:
  description: >-
    Everything the alerts page and the global indicator need, in one response.…
    Reference for the GET /api/v1/alerts endpoint in the TimescaleDB Enterprise
    API.
sidebar:
  label: Get alerts and their state
  badge: GET
title: Get alerts and their state
type: openapi-operation
---
Everything the alerts page and the global indicator need, in one response. Polled by the console, so it makes two upstream calls and a few database reads.

`GET /api/v1/alerts`

**Responses**

- `200` — OK
- `default` — Error

Response example, 200:

```json
{
  "deliveryConfigured": true,
  "engineReachable": true,
  "plannedOperations": {
    "enabled": true,
    "silences": [
      {
        "operation": "string",
        "running": true,
        "serviceId": "string",
        "serviceName": "string",
        "until": "string",
        "workflowId": "string"
      }
    ]
  },
  "rules": [
    {
      "error": "string",
      "for": "string",
      "group": "string",
      "instances": [
        {
          "inhibited": true,
          "labels": {
            "property1": "string",
            "property2": "string"
          },
          "silenced": true,
          "since": "string",
          "state": "pending",
          "value": "string"
        }
      ],
      "name": "string",
      "severity": "string",
      "status": "ok",
      "summary": "string"
    }
  ],
  "summary": {
    "ok": 0,
    "pending": 0,
    "triggered": 0,
    "unknown": 0
  }
}
```
