List monitoring runs
Monitoring
List Monitoring Runs
Retrieve a paginated list of monitoring runs (executions), regardless of whether they produced alerts.
GET
List monitoring runs
Overview
Retrieve a paginated list of monitoring runs for the authenticated customer. A “run” is one execution of a monitoring, returned whether or not it produced alerts — useful for reconciliation against your own records. Queries are bounded to a maximum 60-day window per request. If you do not passfrom and to, the endpoint returns the last 30 days.
Request
- Method:
GET - Path:
/monitoring-executions - Query Parameters: All optional
Query Parameters
from(ISO 8601 string, optional) - Start of the window. Defaults to 30 days beforeto.to(ISO 8601 string, optional) - End of the window. Defaults to now.page_size(integer, optional) - Number of runs per page- Default: 10
- Range: 1-100
next_token(string, optional) - Pagination token for next page (Base64-encoded)
Example Request
Success Response
- Status: 200 OK
Response Body
items(array) - List of monitoring run summariesid(string) - Unique identifier for the runmonitoring_id(string) - ID of the monitoring this run belongs towebsite(string) - Website that was monitoredexecution_time(string) - ISO 8601 timestamp of when the run was executedexternal_id(string|null) - External reference ID (null if not set)alert_count(integer) - Number of alerts produced by the run (0 if none)
next_token(string|null) - Token for next page (null if no more pages)
Example Response
Error Handling
- 400 Bad Request
- Invalid
fromorto(must be ISO 8601 date-time) fromis afterto- Date range exceeds 60 days
- Invalid
page_size - Example:
{ "error": "Date range cannot exceed 60 days" }
- Invalid
- 401 Unauthorized
- Missing or invalid customer authentication
- 500 Internal Server Error
- Unexpected server error
Pagination
Cursor-based pagination with Base64-encoded tokens:- First request: Don’t include
next_token - Subsequent requests: Use the
next_tokenfrom the previous response - Last page:
next_tokenwill benull
Authorizations
Query Parameters
Start of the window (ISO 8601). Defaults to 30 days before to.
End of the window (ISO 8601). Defaults to now.
Number of runs per page (1-100, default 10)
Required range:
1 <= x <= 100Pagination token for next page (Base64-encoded)