Monitors

GET /monitors/{id}/history

Changed on

Lists the notifications sent for the monitor between startTime and endTime. Each delivery is a separate item: one per notifier, and one per recipient for email notifiers. Failed deliveries are included. State changes that sent no notification, for example while the monitor had no notifiers, aren't listed. The caller needs query access to the monitor's datasets.

Request

Path parameters

idstring required

Monitor ID.

Query parameters

startTimestring date-time required

Start of the time range (RFC 3339).

endTimestring date-time required

End of the time range (RFC 3339). Must not be before startTime.

Response

Notifications sent in the time range.

checkIdstring required

ID of the monitor

namestring required

Title of the notification: Triggered: or Resolved: followed by the monitor name

state'open' | 'closed' required

open if the notification reported that the monitor triggered, closed if it reported that the monitor resolved

timestampstring date-time required

Time the delivery was recorded, after any retries

Example response

[
  {
    "checkId": "QgOLFXIvK0ZbYf3tZE",
    "name": "Triggered: High CPU usage",
    "state": "open",
    "timestamp": "2024-03-20T15:30:00Z"
  }
]

Changes

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status