Skip to main content
GET
/
monitors
/
templates
Retrieve monitor templates
curl --request GET \
  --url https://api.eu.bronto.io/monitors/templates \
  --header 'X-BRONTO-API-KEY: <api-key>'
{
  "templates": [
    {
      "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'",
      "type": "PATTERN",
      "metadata": {
        "created_at": 123,
        "created_by": {
          "type": "API_KEY_ID",
          "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
        },
        "updated_at": 123,
        "updated_by": {
          "type": "API_KEY_ID",
          "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
        }
      },
      "description": "Average response time is over 1 seconds in the last 20 minutes",
      "warning_threshold": 900,
      "no_data_status": "OK",
      "group_retention": 600000,
      "aux": {},
      "compare_to": "2 hours ago",
      "change_type": "DIFFERENCE",
      "metric_id": {
        "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "arguments": {}
      },
      "parameters": {}
    }
  ]
}

Authorizations

X-BRONTO-API-KEY
string
header
required

Response

A list of monitor templates

templates
object[]