Datadog · Arazzo Workflow

Datadog Create a Monitor

Version 1.0.0

Create a Datadog monitor, read it back, and validate the configuration.

1 workflow 2 source APIs 1 provider
View Spec View on GitHub AnalyticsDashboardsMonitoringPlatformT1VisualizationsArazzoWorkflows

Provider

datadog

Workflows

create-monitor
Validate, create, and read back a Datadog monitor.
Validates a monitor configuration, creates the monitor, and then fetches it by the returned ID to confirm it was persisted correctly.
3 steps inputs: critical, message, name, priority, query, tags, type, warning outputs: confirmedQuery, monitorId
1
validateConfig
Validate the monitor configuration without creating it to surface any query or option errors before persisting the monitor.
2
createMonitor
Create the monitor with the validated configuration. Datadog returns the full monitor including its newly assigned numeric ID.
3
readBackMonitor
Read the created monitor back by its ID to confirm the query, message, and thresholds were stored as intended.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Datadog Create a Monitor
  summary: Create a Datadog monitor, read it back, and validate the configuration.
  description: >-
    A foundational Datadog monitoring pattern. The workflow first validates the
    proposed monitor configuration without persisting it, then creates the
    monitor, and finally reads the created monitor back by its assigned ID to
    confirm the query, thresholds, and notification message were stored as
    intended. Every step spells out its request inline so the flow can be read
    and executed without opening the underlying OpenAPI description.
  version: 1.0.0
  x-realizes-capability-ids:
  - BC-4220.20
  x-capability-derivation:
    method: 'deterministic join: sourceDescriptions -> per-tag OpenAPI -> tag/capability edge. No classification at this step.'
    min_confidence: 0.7
    sources:
    - capability_id: BC-4220.20
      capability_name: Observability Management
      spec: datadog-monitors-api-openapi.yml
      confidence: 0.85
    model: Turbo EA Capabilities by Vincent Verdet — Turbo EA, https://github.com/vincentmakes/turbo-ea-capabilities, CC BY 4.0
sourceDescriptions:
- name: monitorValidationApi
  url: ../openapi/datadog-monitor-validation-api-openapi.yml
  type: openapi
- name: monitorsApi
  url: ../openapi/datadog-monitors-api-openapi.yml
  type: openapi
workflows:
- workflowId: create-monitor
  summary: Validate, create, and read back a Datadog monitor.
  description: >-
    Validates a monitor configuration, creates the monitor, and then fetches it
    by the returned ID to confirm it was persisted correctly.
  inputs:
    type: object
    required:
    - type
    - query
    - name
    - message
    properties:
      type:
        type: string
        description: The monitor type (e.g. metric alert, query alert, service check).
      query:
        type: string
        description: The monitor query expression (e.g. avg:system.cpu.user{*} > 95).
      name:
        type: string
        description: A descriptive name for the monitor.
      message:
        type: string
        description: The notification message body sent when the monitor triggers.
      tags:
        type: array
        description: List of tags to associate with the monitor.
        items:
          type: string
      priority:
        type: integer
        description: The monitor priority level from 1 (highest) to 5 (lowest).
      critical:
        type: number
        description: The threshold value that triggers a CRITICAL alert.
      warning:
        type: number
        description: The threshold value that triggers a WARNING alert.
  steps:
  - stepId: validateConfig
    description: >-
      Validate the monitor configuration without creating it to surface any
      query or option errors before persisting the monitor.
    operationId: validateMonitor
    requestBody:
      contentType: application/json
      payload:
        type: $inputs.type
        query: $inputs.query
        name: $inputs.name
        message: $inputs.message
        tags: $inputs.tags
        priority: $inputs.priority
        options:
          thresholds:
            critical: $inputs.critical
            warning: $inputs.warning
    successCriteria:
    - condition: $statusCode == 200
  - stepId: createMonitor
    description: >-
      Create the monitor with the validated configuration. Datadog returns the
      full monitor including its newly assigned numeric ID.
    operationId: createMonitor
    requestBody:
      contentType: application/json
      payload:
        type: $inputs.type
        query: $inputs.query
        name: $inputs.name
        message: $inputs.message
        tags: $inputs.tags
        priority: $inputs.priority
        options:
          thresholds:
            critical: $inputs.critical
            warning: $inputs.warning
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      monitorId: $response.body#/id
      monitorName: $response.body#/name
  - stepId: readBackMonitor
    description: >-
      Read the created monitor back by its ID to confirm the query, message,
      and thresholds were stored as intended.
    operationId: getMonitor
    parameters:
    - name: monitor_id
      in: path
      value: $steps.createMonitor.outputs.monitorId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      confirmedId: $response.body#/id
      confirmedQuery: $response.body#/query
      confirmedName: $response.body#/name
  outputs:
    monitorId: $steps.createMonitor.outputs.monitorId
    confirmedQuery: $steps.readBackMonitor.outputs.confirmedQuery

Work with this as data

Every workflow 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 arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow 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 workflow
curl "https://apis.io/api/v1/arazzo/datadog-create-monitor-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?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.