Datadog Policies API

The Policies API from Datadog — 9 operation(s) for policies.

Operations 3

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

PUT /api/v2/on-call/escalation-policies/{policy_id} Update an On-Call escalation policy · Datadog Update On-call Escalation Policy #
Ask an LLM
“Can I change the steps or targets of an On-Call escalation policy?”
“Is it possible to edit who gets paged next in an escalation policy?”
Tell an agent
Update escalation policy {policy_id} with {data}.
Edit the steps of On-Call escalation policy {policy_id}.
PATCH /api/v2/remote_config/products/cws/policy/{policy_id} Update a Workload Protection policy · Datadog Update a Workload Protection Policy #
Ask an LLM
“Can I enable or rename a Workload Protection agent policy?”
“Is updating Workload Protection policies supported on the US1-FED site?”
Tell an agent
Update Workload Protection policy {policy_id} with {data}.
Edit the Workload Protection agent policy {policy_id}.
POST /api/v2/restriction_policy/{resource_id} Set who can access a resource · Datadog Update a Restriction Policy #
Ask an LLM
“How do I restrict who can edit a specific dashboard?”
“Can an admin accidentally lock themselves out of a resource's restriction policy?”
Tell an agent
Set the restriction policy on {resource_id} to {data}.
Update access bindings for resource {resource_id} allowing self lockout {allow_self_lockout}.

Documentation

Specifications

Schemas & Data

Other Resources

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/datadog:datadog-policies-api"
All apis
curl "https://apis.io/api/v1/apis?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.

OpenAPI Specification

datadog-policies-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  contact:
    email: support@datadoghq.com
    name: Datadog Support
    url: https://www.datadoghq.com/support/
  description: The Datadog API is an HTTP REST API. The API uses resource-oriented URLs to call the API, uses status codes to indicate the success or failure of requests, returns JSON from all requests, and uses standard HTTP response codes. Use the Datadog API to access the Datadog platform programmatically.
  title: Datadog Policies API
  version: '1.0'
servers:
- url: https://{subdomain}.{site}
  variables:
    site:
      default: datadoghq.com
      description: The regional site for Datadog customers.
      enum:
      - datadoghq.com
      - us3.datadoghq.com
      - us5.datadoghq.com
      - ap1.datadoghq.com
      - datadoghq.eu
      - ddog-gov.com
    subdomain:
      default: api
      description: The subdomain where the API is deployed.
- url: '{protocol}://{name}'
  variables:
    name:
      default: api.datadoghq.com
      description: Full site DNS name.
    protocol:
      default: https
      description: The protocol for accessing the API.
- url: https://{subdomain}.{site}
  variables:
    site:
      default: datadoghq.com
      description: Any Datadog deployment.
    subdomain:
      default: api
      description: The subdomain where the API is deployed.
security:
- apiKeyAuth: []
  appKeyAuth: []
tags:


# --- truncated at 32 KB (47 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/datadog/refs/heads/main/openapi/datadog-policies-api-openapi.yml