Datadog Agent API

The Agent API from Datadog — 4 operation(s) for agent.

Business capability
Threat Detection & Response Management BC-620.30

Operations 10

GET /api/v2/remote_config/products/cws/agent_rules Datadog Get All Workload Protection Agent Rules #
POST /api/v2/remote_config/products/cws/agent_rules Datadog Create a Workload Protection Agent Rule #
DELETE /api/v2/remote_config/products/cws/agent_rules/{agent_rule_id} Datadog Delete a Workload Protection Agent Rule #
GET /api/v2/remote_config/products/cws/agent_rules/{agent_rule_id} Datadog Get a Workload Protection Agent Rule #
PATCH /api/v2/remote_config/products/cws/agent_rules/{agent_rule_id} Datadog Update a Workload Protection Agent Rule #
GET /api/v2/security_monitoring/cloud_workload_security/agent_rules Datadog Get All Workload Protection Agent Rules (us1-fed) #
POST /api/v2/security_monitoring/cloud_workload_security/agent_rules Datadog Create a Workload Protection Agent Rule (us1-fed) #
DELETE /api/v2/security_monitoring/cloud_workload_security/agent_rules/{agent_rule_id} Datadog Delete a Workload Protection Agent Rule (us1-fed) #
GET /api/v2/security_monitoring/cloud_workload_security/agent_rules/{agent_rule_id} Datadog Get a Workload Protection Agent Rule (us1-fed) #
PATCH /api/v2/security_monitoring/cloud_workload_security/agent_rules/{agent_rule_id} Datadog Update a Workload Protection Agent Rule (us1-fed) #

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-agent-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-agent-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 Agent 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 (36 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/datadog/refs/heads/main/openapi/datadog-agent-api-openapi.yml