LIST Active Alerts
GET/workspaces/:workspaceId/alerting/alerts/active
Returns list of active alerts. The format is a JSON array
Request
Path Parameters
workspaceId uuidrequired
Query Parameters
deviceId string
streamName string
streamGroupName string
ruleName string
after date-time
Filter alerts that were raised after the specified date and time.
before date-time
Filter alerts that were raised before the specified date and time.
isAcknowledged boolean
Responses
- 200
List of active alerts
- application/json
- Schema
- Example (from schema)
- example-1
Schema
Array [
]
alertId stringrequired
Alert GUID.
deviceId stringrequired
streamName stringrequired
streamGroupName stringrequired
ruleName stringrequired
firedTime date-time
Date and time when the alert was raised.
lastMessageTime date-time
Date and time when the last message was sent.
targets string[]required
isAcknowledged boolean
[
{
"alertId": "string",
"deviceId": "string",
"streamName": "string",
"streamGroupName": "string",
"ruleName": "string",
"firedTime": "2025-01-10T10:10:08.011Z",
"lastMessageTime": "2025-01-10T10:10:08.011Z",
"targets": [
"string"
],
"isAcknowledged": true
}
]
[
{
"alertId": "<GUID>",
"deviceId": "my-device",
"streamName": "my-stream",
"streamGroupName": "my-stream-group",
"siteId": "my-site",
"ruleName": "my-rule",
"firedTime": "2020-01-01T12:00:00+00:00",
"lastMessageTime": "2020-01-01T12:00:00+00:00",
"targets": [
"slack-target",
"service-bus-target"
]
}
]
Loading...