{
  "schema_version": 2,
  "id": "operate/rs/references/rest-api/objects/alert",
  "title": "Alert object",
  "url": "https://redis.io/docs/latest/operate/rs/references/rest-api/objects/alert/",
  "summary": "An object that contains alert info",
  "tags": [
    "docs",
    "operate",
    "rs"
  ],
  "last_updated": "2023-12-14T15:27:49+01:00",
  "page_type": "content",
  "content_hash": "df2df1e9e05c09800a35196c6bbf7b3bc97fbfec9cf42c42f7aa9afecc0e7599",
  "sections": [
    {
      "id": "content",
      "title": "Content",
      "role": "content",
      "text": "You can view, configure, and enable various alerts for the cluster.\n\nAlerts are bound to a cluster object (such as a [BDB](https://redis.io/docs/latest/operate/rs/references/rest-api/objects/bdb) or [node](https://redis.io/docs/latest/operate/rs/references/rest-api/objects/node)), and the cluster's state determines whether the alerts turn on or off.\n\n  Name  | Type/Value | Description | Writable\n|-------|------------|-------------|----------|\n| change_time | string | Timestamp when alert state last changed | |\n| change_value | object | Contains data relevant to the evaluation time when the alert went on/off (thresholds, sampled values, etc.) | |\n| enabled | boolean | If true, alert is enabled | x |\n| severity | 'DEBUG'<br />'INFO'<br />'WARNING'<br />'ERROR'<br />'CRITICAL' | The alert's severity | |\n| state | boolean | If true, alert is currently triggered | |\n| threshold | string | Represents an alert threshold when applicable | x |"
    }
  ],
  "examples": []
}
