Skip to main content
GET
/
monitors
Retrieve monitors
curl --request GET \
  --url https://api.eu.bronto.io/monitors \
  --header 'X-BRONTO-API-KEY: <api-key>'
{
  "monitors": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "name": "High Error Rate",
      "comparison_operator": "ABOVE",
      "threshold": 1000,
      "window": "'Last 20 minutes', 'Last 2 hours', 'Last 1 days'",
      "actions": [
        {
          "type": "EMAIL",
          "email": "<string>",
          "integration_id": "<string>"
        }
      ],
      "created_at": 1710948395538,
      "status": "OK",
      "type": "PATTERN",
      "ai_report_enabled": true,
      "description": "Average response time is over 1 seconds in the last 20 minutes",
      "warning_threshold": 900,
      "monitored_groups": [
        {
          "group_id": "region:EU,host:100",
          "status": "OK",
          "groups": {
            "region": "EU",
            "host": 100
          }
        },
        {
          "group_id": "region:EU,host:101",
          "status": "ALERT",
          "groups": {
            "region": "EU",
            "host": 100
          }
        }
      ],
      "no_data_status": "OK",
      "muted_until": 1710958395538,
      "notify_once": false,
      "group_retention": 600000,
      "last_trigger_ts": 1710948395538,
      "aux": {},
      "compare_to": "2 hours ago",
      "change_type": "DIFFERENCE",
      "ai_report_instructions": "<string>",
      "metric_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
    }
  ]
}

Authorizations

X-BRONTO-API-KEY
string
header
required

Response

A list of currently configured monitors

monitors
object[]