Skip to main content

List Events for a Monitor

Lists all Events that have been triggered for a Monitor within the saved time frame (usually 90 days).

EndpointMethodURL
/monitors/{id}/eventsGEThttps://garmingo.com/api/status/v1/monitors/{id}/events

Query Parameters​

ParameterTypeDescriptionRequiredDefaultMinimumMaximum
limitnumberThe maximum number of Events to return.No101100
pagenumberThe page number of the Events to return.No11∞

Response​

The response is a JSON object with the following properties:

PropertyTypeDescription
successbooleanWhether the request was successful.
data.eventsEvent[]The list of Events.
data.countnumberThe total number of Events.

Example​

{
"success": true,
"data": {
"events": [
{
"id": "5f4b3b3b-0b3b-4b3b-0b3b-4b3b0b3b0b3b",
"monitorId": "5f4b3b3b-0b3b-4b3b-0b3b-4b3b0b3b0b3b",
"status": true,
"timestamp": "2021-01-01T00:00:00.000Z",
"metadata": {
"key": "value"
}
}
],
"count": 1
}
}