Datadog · Arazzo Workflow

Datadog Create a Monitor Configuration Policy

Version 1.0.0

Create a tag monitor configuration policy, read it back, then list policies.

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

Provider

datadog

Workflows

create-monitor-config-policy
Create a monitor tag policy, get it, then list all policies.
Creates a tag-type monitor configuration policy with the supplied tag key and valid values, reads it back by id, and lists all monitor configuration policies.
3 steps inputs: tagKey, tagKeyRequired, validTagValues outputs: policies, policyId, policyType
1
createPolicy
Create a tag-type monitor configuration policy enforcing the supplied tag key and valid values.
2
getPolicy
Fetch the created policy by id to confirm it exists.
3
listPolicies
List all monitor configuration policies so the new one can be located.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: Datadog Create a Monitor Configuration Policy
  summary: Create a tag monitor configuration policy, read it back, then list policies.
  description: >-
    A monitor-governance pattern on the Datadog v2 Monitors API, substituted for
    a v1-only notebook flow that this v2 specification does not expose. The
    workflow creates a tag-policy that enforces valid tag values on monitor
    creation, fetches the created policy by id to confirm it exists, and then
    lists all monitor configuration policies so the new one can be located among
    them. 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
sourceDescriptions:
- name: allApi
  url: ../openapi/datadog-all-api-openapi.yml
  type: openapi
- name: configurationApi
  url: ../openapi/datadog-configuration-api-openapi.yml
  type: openapi
workflows:
- workflowId: create-monitor-config-policy
  summary: Create a monitor tag policy, get it, then list all policies.
  description: >-
    Creates a tag-type monitor configuration policy with the supplied tag key
    and valid values, reads it back by id, and lists all monitor configuration
    policies.
  inputs:
    type: object
    required:
    - tagKey
    - tagKeyRequired
    - validTagValues
    properties:
      tagKey:
        type: string
        description: The key of the tag the policy governs (e.g. "env").
      tagKeyRequired:
        type: boolean
        description: Whether the tag key is required for monitor creation.
      validTagValues:
        type: array
        description: The valid values allowed for the tag.
        items:
          type: string
  steps:
  - stepId: createPolicy
    description: >-
      Create a tag-type monitor configuration policy enforcing the supplied tag
      key and valid values.
    operationId: CreateMonitorConfigPolicy
    requestBody:
      contentType: application/json
      payload:
        data:
          type: monitor-config-policy
          attributes:
            policy_type: tag
            policy:
              tag_key: $inputs.tagKey
              tag_key_required: $inputs.tagKeyRequired
              valid_tag_values: $inputs.validTagValues
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      policyId: $response.body#/data/id
  - stepId: getPolicy
    description: Fetch the created policy by id to confirm it exists.
    operationId: GetMonitorConfigPolicy
    parameters:
    - name: policy_id
      in: path
      value: $steps.createPolicy.outputs.policyId
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      policyType: $response.body#/data/attributes/policy_type
  - stepId: listPolicies
    description: List all monitor configuration policies so the new one can be located.
    operationId: ListMonitorConfigPolicies
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      policies: $response.body#/data
  outputs:
    policyId: $steps.createPolicy.outputs.policyId
    policyType: $steps.getPolicy.outputs.policyType
    policies: $steps.listPolicies.outputs.policies

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-config-policy-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.