---
title: "List all vessel alert rules"
method: GET
path: "/vessels/alert-rules/all"
tags: ["vessels"]
---

# List all vessel alert rules

`GET /vessels/alert-rules/all`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/vessels/alert-rules/all`
- Auth: one of:
  - API key in cookie `session`
  - HTTP bearer

## Response `200`

Alert rules

- VesselAlertRule[]
  - `id` integer, required
  - `name` string, required
  - `condition` string, required
  - `threshold` number, nullable
  - `severity` 'info' | 'warning' | 'critical', required
  - `isActive` boolean, required
  - `appliesTo` 'all' | 'fleet' | 'vessel'
  - `targetId` integer, nullable

## Other responses

- `401`: Unauthorized

## Changes

- **2026-04-18** `518dcf68679a`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/szl-holdings/apis/szl-holdings-dreamstack-api/changes/vessels/alert-rules/all/get.md)

---

[API](https://skmtc.dev/szl-holdings/apis/szl-holdings-dreamstack-api.md) - [All operations](https://skmtc.dev/szl-holdings/apis/szl-holdings-dreamstack-api/llms.txt) - [OpenAPI document](https://skmtc.dev/szl-holdings/apis/szl-holdings-dreamstack-api/revisions/6ad730b13e59?raw)
