Monitor data

Get monitor statistics

Returns time-based monitor stats including uptime, downtime, and average response time for the past 1, 7, 30, and 90 days.

get/monitors/{monitorId}/stats

Request

  • Base URL: https://api.pulsetic.com/api/public
  • URL: https://api.pulsetic.com/api/public/monitors/{monitorId}/stats
  • Auth: API key in header Authorization

Path parameters

monitorIdinteger required
Example:2

Response

Successful operation

Example response

{
  "1day": {
    "averageResponseTime": 220,
    "uptime": "99.95",
    "downtime": "00:03:10"
  },
  "7days": {
    "averageResponseTime": 230,
    "uptime": "99.90",
    "downtime": "00:20:00"
  },
  "30days": {
    "averageResponseTime": 250,
    "uptime": "99.80",
    "downtime": "01:00:00"
  },
  "90days": {
    "averageResponseTime": 270,
    "uptime": "99.70",
    "downtime": "03:00:00"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.