---
title: "Get Alert Rules"
method: GET
path: "/api/v1/clusters/{cluster_id}/observability/alerts/rules"
tags: ["observability"]
---

# Get Alert Rules

`GET /api/v1/clusters/{cluster_id}/observability/alerts/rules`

## Request

- Base URL: `https://api.mengi.cloud` (the document declares no server; this is the origin it was published from)
- URL: `https://api.mengi.cloud/api/v1/clusters/{cluster_id}/observability/alerts/rules`
- Auth: none declared

Get alert rules for a cluster.

## Path parameters

- `cluster_id` string, uuid, required

## Response `200`

Successful Response

- AlertRuleListResponse
  - `rules` AlertRuleResponse[], required
    - `id` string, uuid, required
    - `user_id` string, uuid, required
    - `organization_id` string, uuid, nullable
    - `cluster_id` string, uuid, nullable
    - `name` string, required
    - `expression` string, required
    - `duration` string, required
    - `severity` 'critical' | 'warning' | 'info', required
    - `labels` object, nullable
    - `annotations` object, nullable
    - `is_enabled` boolean, required
    - `notification_channel_ids` string[], nullable
    - `created_at` string, date-time, required
    - `updated_at` string, date-time, required
  - `total` integer, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/mengi/apis/mengi-cloud.md) · [All operations](https://skmtc.dev/mengi/apis/mengi-cloud/llms.txt) · [OpenAPI document](https://skmtc.dev/mengi/apis/mengi-cloud/revisions/4ae9b375cdbb?raw)
