---
title: "List all alert rules for a project"
method: GET
path: "/projects/{project_id}/error-alert-rules"
tags: ["error-alert-rules"]
---

# List all alert rules for a project

`GET /projects/{project_id}/error-alert-rules`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/projects/{project_id}/error-alert-rules`
- Auth: none declared

## Path parameters

- `project_id` integer, required

## Response `200`

List of alert rules

- AlertRuleResponse[]
  - `cooldown_minutes` integer, required
  - `created_at` string, required
  - `enabled` boolean, required
  - `environment_filter` integer, nullable
  - `error_level_filter` string, nullable
  - `id` integer, required
  - `name` string, required
  - `notification_priority` string, required
  - `project_id` integer, required
  - `trigger_config` unknown, required
  - `trigger_type` string, required
  - `updated_at` string, required

## Other responses

- `500`: Internal server error

## Changes

- **2026-04-25** `774be20905f2`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/gotempsh/apis/temps/changes/projects/:project_id/error-alert-rules/get.md)

---

[API](https://skmtc.dev/gotempsh/apis/temps.md) - [All operations](https://skmtc.dev/gotempsh/apis/temps/llms.txt) - [OpenAPI document](https://skmtc.dev/gotempsh/apis/temps/revisions/3b040526eb43?raw)
