---
title: "Get all alert rules"
method: GET
path: "/api-public/v1/alertRules"
tags: ["Alert Rules"]
---

# Get all alert rules

`GET /api-public/v1/alertRules`

Get all the alert rules of an organization.

This API may be called a maximum of 2 times per second.

## Headers

- `X-VO-Api-Id` string, required
- `X-VO-Api-Key` string, required

## Response `200`

The alert rules of an organization

- AlertRulesResponse
  - `id` number
  - `alertField` string
  - `alertValueMatch` string
  - `matchType` 'WILDCARD' | 'REGEX'
  - `rank` number
  - `stopFlag` boolean
  - `lastUpdated` number
  - `lastUpdatedBy` string
  - `notes` string
  - `routeKey` string
  - `annotations` Annotation[]
    - `id` number
    - `annotationType` string
    - `fieldName` string
    - `fieldValue` string
    - `flags` number

## Other responses

- `400` — Problem with the request arguments. The response payload may include an error message.
- `401` — Authentication parameters missing
- `403` — Authentication failed or rate-limit reached
- `500` — Internal Server Error

---

[API](https://skmtc.net/victorops/apis/victorops-api.md) · [All operations](https://skmtc.net/victorops/apis/victorops-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/victorops/victorops-api/versions/7a7391256058/schema)
