Datadog · Schema

MonitorUpdateRequest

Request body for updating an existing monitor configuration

AnalyticsDashboardsMonitoringPlatformT1Visualizations

Properties

Name Type Description
type string The type of the monitor (changing type may reset other settings)
query string The updated monitor query expression
name string The updated descriptive name for the monitor
message string The updated notification message body
tags array The updated list of tags to associate with the monitor
options object
priority integer The updated priority level (1 highest to 5 lowest)
View JSON Schema on GitHub

JSON Schema

datadog-monitors-monitor-update-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/datadog/refs/heads/main/json-schema/datadog-monitors-monitor-update-request-schema.json",
  "title": "MonitorUpdateRequest",
  "description": "Request body for updating an existing monitor configuration",
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "description": "The type of the monitor (changing type may reset other settings)",
      "example": "metric alert"
    },
    "query": {
      "type": "string",
      "description": "The updated monitor query expression",
      "example": "avg:system.cpu.user{*}"
    },
    "name": {
      "type": "string",
      "description": "The updated descriptive name for the monitor",
      "example": "Example Monitor"
    },
    "message": {
      "type": "string",
      "description": "The updated notification message body",
      "example": "CPU usage is high on {{host.name}}"
    },
    "tags": {
      "type": "array",
      "description": "The updated list of tags to associate with the monitor",
      "items": {
        "type": "string"
      }
    },
    "options": {
      "$ref": "#/components/schemas/MonitorOptions"
    },
    "priority": {
      "type": "integer",
      "description": "The updated priority level (1 highest to 5 lowest)",
      "minimum": 1,
      "maximum": 5,
      "example": 42
    }
  }
}