---
title: "Get all critical alerts for this workspace"
method: GET
path: "/w/{workspace}/workspaces/critical_alerts"
tags: ["setting"]
---

# Get all critical alerts for this workspace

`GET /w/{workspace}/workspaces/critical_alerts`

## Path parameters

- `workspace` string, required

## Query parameters

- `page` integer — The page number to retrieve (minimum value is 1)
- `page_size` integer — Number of alerts per page (maximum is 100)
- `acknowledged` boolean, nullable — Filter by acknowledgment status; true for acknowledged, false for unacknowledged, and omit for all alerts

## Response `200`

Successfully retrieved all critical alerts

- object
  - `alerts` CriticalAlert[]
    - `id` integer — Unique identifier for the alert
    - `alert_type` string — Type of alert (e.g., critical_error)
    - `message` string — The message content of the alert
    - `created_at` string, date-time — Time when the alert was created
    - `acknowledged` boolean, nullable — Acknowledgment status of the alert, can be true, false, or null if not set
    - `workspace_id` string, nullable — Workspace id if the alert is in the scope of a workspace
  - `total_rows` integer — Total number of rows matching the query.
  - `total_pages` integer — Total number of pages based on the page size.

---

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