---
title: "Monitoring alerts for project"
method: POST
path: "/api/v1/projects/monitoringalerts"
tags: ["Projects"]
---

# Monitoring alerts for project

`POST /api/v1/projects/monitoringalerts`

## Request body

- ProjectsMonitoringAlertsCommand
  - `projectId` integer

## Response `200`

OK

- ProjectMonitoringAlertsDto
  - `status` string, nullable
  - `data` AlertData
    - `groups` Group[], nullable
      - `name` string, nullable
      - `file` string, nullable
      - `rules` Rule[], nullable
        - `state` string, nullable
        - `name` string, nullable
        - `query` string, nullable
        - `duration` integer
        - `labels` RuleLabels
          - `severity` string, nullable
        - `annotations` Annotations
          - `description` string, nullable
          - `title` string, nullable
        - `alerts` Alert[], nullable
          - `labels` AlertLabels
            - `alertname` string, nullable
            - `condition` string, nullable
            - `container` string, nullable
            - `endpoint` string, nullable
            - `instance` string, nullable
            - `job` string, nullable
            - `namespace` string, nullable
            - `node` string, nullable
            - `pod` string, nullable
            - `service` string, nullable
            - `severity` string, nullable
            - `status` string, nullable
            - `daemonset` string, nullable
          - `annotations` Annotations
            - `description` string, nullable
            - `title` string, nullable
          - `state` string, nullable
          - `activeAt` string, date-time
          - `value` string, nullable
        - `health` string, nullable
        - `evaluationTime` number, double
        - `lastEvaluation` string, date-time
        - `type` string, nullable
      - `interval` integer
      - `evaluationTime` number, double
      - `lastEvaluation` string, date-time

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `409` — Conflict
- `500` — Internal Server Error

---

[API](https://skmtc.dev/taikun/apis/taikun-webapi.md) · [All operations](https://skmtc.dev/taikun/apis/taikun-webapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/taikun/taikun-webapi/revisions/09395964d191/schema)
