Datadog · Schema

Monitor

A Datadog monitor that watches a metric or check and alerts when thresholds are exceeded

AnalyticsDashboardsMonitoringPlatformT1Visualizations

Properties

Name Type Description
id integer The unique numeric identifier of the monitor, assigned by Datadog upon creation
type string The type of monitor that determines the query language and alerting behavior
query string The monitor query expression using Datadog's query language for the specified monitor type
name string A descriptive name for the monitor used for identification in dashboards and notifications
message string The notification message body sent when the monitor triggers, supports template variables and @-mentions
tags array List of tags to associate with the monitor for filtering and organization
options object
priority integer The monitor priority level from 1 (highest) to 5 (lowest), used for sorting and filtering
state object
creator object
created string ISO 8601 timestamp when the monitor was created
modified string ISO 8601 timestamp when the monitor was last modified
deleted string ISO 8601 timestamp when the monitor was deleted, or null if not deleted
restricted_roles array List of role IDs whose members can edit this monitor; empty means all users can edit
View JSON Schema on GitHub

JSON Schema

datadog-monitors-monitor-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-schema.json",
  "title": "Monitor",
  "description": "A Datadog monitor that watches a metric or check and alerts when thresholds are exceeded",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "format": "int64",
      "description": "The unique numeric identifier of the monitor, assigned by Datadog upon creation",
      "example": 42
    },
    "type": {
      "type": "string",
      "description": "The type of monitor that determines the query language and alerting behavior",
      "enum": [
        "composite",
        "event alert",
        "log alert",
        "metric alert",
        "process alert",
        "query alert",
        "rum alert",
        "service check",
        "synthetics alert",
        "trace-analytics alert",
        "slo alert",
        "event-v2 alert",
        "audit alert",
        "ci-pipelines alert",
        "ci-tests alert",
        "error-tracking alert",
        "database-monitoring alert",
        "network-performance alert"
      ],
      "example": "composite"
    },
    "query": {
      "type": "string",
      "description": "The monitor query expression using Datadog's query language for the specified monitor type",
      "example": "avg:system.cpu.user{*}"
    },
    "name": {
      "type": "string",
      "description": "A descriptive name for the monitor used for identification in dashboards and notifications",
      "example": "Example Monitor"
    },
    "message": {
      "type": "string",
      "description": "The notification message body sent when the monitor triggers, supports template variables and @-mentions",
      "example": "CPU usage is high on {{host.name}}"
    },
    "tags": {
      "type": "array",
      "description": "List of tags to associate with the monitor for filtering and organization",
      "items": {
        "type": "string"
      }
    },
    "options": {
      "$ref": "#/components/schemas/MonitorOptions"
    },
    "priority": {
      "type": "integer",
      "description": "The monitor priority level from 1 (highest) to 5 (lowest), used for sorting and filtering",
      "minimum": 1,
      "maximum": 5,
      "example": 42
    },
    "state": {
      "$ref": "#/components/schemas/MonitorState"
    },
    "creator": {
      "$ref": "#/components/schemas/Creator"
    },
    "created": {
      "type": "string",
      "format": "date-time",
      "description": "ISO 8601 timestamp when the monitor was created",
      "example": "example_value"
    },
    "modified": {
      "type": "string",
      "format": "date-time",
      "description": "ISO 8601 timestamp when the monitor was last modified",
      "example": "example_value"
    },
    "deleted": {
      "type": "string",
      "format": "date-time",
      "nullable": true,
      "description": "ISO 8601 timestamp when the monitor was deleted, or null if not deleted",
      "example": "example_value"
    },
    "restricted_roles": {
      "type": "array",
      "description": "List of role IDs whose members can edit this monitor; empty means all users can edit",
      "items": {
        "type": "string"
      }
    }
  },
  "required": [
    "type",
    "query",
    "name",
    "message"
  ]
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/datadog-monitors-monitor"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.