ApiMonitors

List monitors

Returns every monitor in your account with the latest status, aggregated uptime, and (since this is what the dashboard uses) recent check counts.

GET
/monitors

Authorization

BearerAuth
AuthorizationBearer <token>

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/monitors"
[
  {
    "id": "b8f1d6c2-3a4e-4f9d-9ab1-2e8d7c5f4d3e",
    "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
    "name": "Production API",
    "url": "https://api.example.com/health",
    "monitor_type": "http",
    "keyword_to_check": "string",
    "status": "up",
    "is_active": true,
    "interval_seconds": 60,
    "timeout_ms": 10000,
    "expected_status": 0,
    "method": "GET",
    "port": 0,
    "regions": [
      "global"
    ],
    "uptime_percentage": 99.98,
    "avg_response_time": 0,
    "last_checked_at": "2019-08-24T14:15:22Z",
    "status_changed_at": "2019-08-24T14:15:22Z",
    "maintenance_mode": true,
    "is_critical": true,
    "monitor_group": "string",
    "ssl_monitoring_enabled": true,
    "ssl_alert_days": 0,
    "ssl_days_remaining": 0,
    "ssl_issuer": "string",
    "ssl_expires_at": "2019-08-24T14:15:22Z",
    "domain_expiry_enabled": true,
    "domain_expiry_alert_days": 0,
    "domain_expires_at": "2019-08-24T14:15:22Z",
    "domain_registrar": "string",
    "created_at": "2019-08-24T14:15:22Z",
    "updated_at": "2019-08-24T14:15:22Z"
  }
]
{
  "error": "Validation failed",
  "message": "name is required",
  "details": null
}
{
  "error": "Validation failed",
  "message": "name is required",
  "details": null
}
{
  "error": "Validation failed",
  "message": "name is required",
  "details": null
}
{
  "error": "Validation failed",
  "message": "name is required",
  "details": null
}
{
  "error": "Validation failed",
  "message": "name is required",
  "details": null
}
{
  "error": "Validation failed",
  "message": "name is required",
  "details": null
}