Returns current alerts from Mimir scoped to a single system. Mirrors
the filter, pagination, and sort surface of GET /alerts: the only
difference is that system_key is pinned to the URL path (the
multi-value system_key query filter is therefore not exposed).
Suppressed alerts remain visible so silenced alerts can still be
inspected in the system detail view.
System identity is carried as labels on each alert (system_id,
system_key, system_name, system_type), stamped at ingest time.
Multi-value filters: OR within the same filter, AND across filters.
Requires read:systems permission.
Query parameters
-
1-based page number.
Minimum value is
1. Default value is1. -
Page size. Default 50, max 100.
Minimum value is
1, maximum value is100. Default value is50. -
Sort column (allowlist matches
/alerts).Values are
starts_at,severity,alertname, orstatus. Default value isstarts_at. -
Values are
ascordesc. Default value isdesc. -
Filter by Alertmanager state. Supports multiple values.
Values are
active,suppressed, orunprocessed. -
Filter by severity. Supports multiple values.
Values are
critical,warning, orinfo. -
Filter by alertname. Supports multiple values.
curl \
--request GET 'https://api.your-domain.com/api/systems/sys_123456789/alerts' \
--header "Authorization: Bearer $ACCESS_TOKEN"
{
"code": 200,
"message": "alerts retrieved successfully",
"data": {
"alerts": [
{
"fingerprint": "0a9d04bb6eed523f",
"labels": {
"alertname": "DiskFilling",
"severity": "warning",
"system_id": "e4eb4844-46f6-448c-8279-7cfedf5e1037",
"system_key": "NETH-D417-A2C2-7810-43D2-984B-2164-34C1-B22E",
"system_name": "test-sys",
"system_type": "ns8"
},
"annotations": {
"summary": "/var is 92% full",
"description": "Disk usage exceeded warning threshold."
},
"status": {
"state": "suppressed",
"silencedBy": [
"d9f91c6e-1b33-484e-befa-bfb41020e178"
],
"inhibitedBy": []
},
"startsAt": "2026-05-12T08:14:00Z",
"endsAt": "2026-05-12T08:44:00Z"
},
{
"fingerprint": "11a9302b0fa6526e",
"labels": {
"alertname": "HighCPU",
"severity": "critical",
"system_id": "e4eb4844-46f6-448c-8279-7cfedf5e1037",
"system_key": "NETH-D417-A2C2-7810-43D2-984B-2164-34C1-B22E",
"system_name": "test-sys",
"system_type": "ns8"
},
"annotations": {
"summary": "CPU usage 98%",
"description": "Sustained high CPU."
},
"status": {
"state": "active",
"silencedBy": [],
"inhibitedBy": []
},
"startsAt": "2026-05-12T08:20:00Z",
"endsAt": "2026-05-12T08:50:00Z"
}
],
"pagination": {
"page": 1,
"page_size": 50,
"total_count": 2,
"total_pages": 1,
"has_next": false,
"has_prev": false,
"sort_by": "starts_at",
"sort_direction": "desc"
}
}
}
{
"code": 200,
"message": "alerts retrieved successfully",
"data": {
"alerts": [],
"pagination": {
"page": 1,
"page_size": 50,
"total_count": 0,
"total_pages": 0,
"has_next": false,
"has_prev": false,
"sort_by": "starts_at",
"sort_direction": "desc"
}
}
}
{
"code": 401,
"message": "invalid token",
"data": {}
}
{
"code": 403,
"message": "insufficient permissions",
"data": {}
}
{
"code": 400,
"message": "validation failed",
"data": {
"type": "validation_error",
"errors": [
{
"key": "username",
"message": "required",
"value": "string"
}
]
}
}