Monitoring
List Monitoring Alerts
Retrieve a paginated list of monitoring alerts for failed monitorings.
GET
Overview
Retrieve a paginated list of monitoring alerts for the failed monitoring runs. Supports filtering by seen/unseen status and execution time, and provides an unseen alert count.
Request
- Method:
GET
- Path:
/monitoring-alerts
- Query Parameters: Optional filters and pagination
Query Parameters
pageSize
(integer, optional) - Number of alerts per page- Default: 10
- Range: 1-100
- Must be a positive integer
next_token
(string, optional) - Pagination token for next pageonlyUnacknowledged
(boolean, optional) - If true, returns only unacknowledged alertsacknowledged
(boolean, optional) - If true, returns only acknowledged alertsexecutionTime_before
(ISO8601 string, optional) - Only include alerts executed before this timeexecutionTime_after
(ISO8601 string, optional) - Only include alerts executed after this time
Example Request
Success Response
- Status: 200 OK
Response Body
items
(array) - List of alert objectsid
(string) - Unique identifier for the alertmonitoringId
(string) - ID of the monitoring that triggered this alertcustomerId
(string) - ID of the customer that owns this monitoringexecutionResultId
(string) - ID of the execution resultwebsite
(string) - URL of the monitored websitefailedChecks
(array) - List of checks that failedcheck
(string) - The type of check that failedexplanation
(string) - Explanation of the failuremethodUsed
(string) - Method used for checkingstatus
(string) - Status of the check
executionTime
(string) - ISO8601 timestamp of when the monitoring was executedcreatedAt
(string) - ISO8601 timestamp of when the alert was createdacknowledged_at
(string) - ISO8601 timestamp of when the alert was acknowledgedexternalId
(string, optional) - External reference ID
unacknowledgedCount
(integer) - Number of unacknowledged alerts for the customernext_token
(string|null) - Token for next page (null if no more pages)
Example Response
Error Handling
- 400 Bad Request
- Invalid query parameter values
- Example:
{ "error": "pageSize must be a positive integer between 1 and 100" }
- 401 Unauthorized
- Missing or invalid customer authentication
- 500 Internal Server Error
- Unexpected server error
Pagination
The API uses cursor-based pagination with Base64-encoded tokens:
- First request: Don’t include
next_token
- Subsequent requests: Use the
next_token
from the previous response - Last page:
next_token
will benull
Authorizations
Query Parameters
Number of alerts per page (1-100, default 10)
Required range:
1 <= x <= 100
Pagination token for next page (Base64-encoded)
If 'true', returns only unacknowledged alerts
Available options:
true
, false
If 'true', returns only acknowledged alerts
Available options:
true
, false
Only include alerts executed before this time (ISO8601)
Only include alerts executed after this time (ISO8601)
Response
200
application/json
OK
The response is of type object
.