Datadog Rules API

The Rules API from Datadog — 27 operation(s) for rules.

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

PATCH /api/v2/security_monitoring/configuration/suppressions/{suppression_id} Update a security suppression rule · Datadog Update a Suppression Rule #
Ask an LLM
“Can I change the query of an existing suppression rule?”
“Does updating a suppression rule allow partial changes?”
Tell an agent
Update suppression rule {suppression_id} with {data}.
Edit the signal suppression {suppression_id}.
POST /api/v2/security_monitoring/rules/test Test a new detection rule before saving · Datadog Test a Rule #
Ask an LLM
“Can I test a detection rule definition before I create it?”
“How do I check whether a draft rule fires on sample payloads?”
Tell an agent
Test the draft detection rule {rule} against {ruleQueryPayloads}.
Dry-run this unsaved security rule: {rule}.
PATCH /api/v2/sensitive-data-scanner/config/rules/{rule_id} Update a Sensitive Data Scanner rule · Datadog Update Scanning Rule #
Ask an LLM
“Can I change the regex of a Sensitive Data Scanner rule?”
“Why does editing a rule built on a standard pattern fail?”
Tell an agent
Update scanning rule {rule_id} with {data}.
Edit Sensitive Data Scanner rule {rule_id} using {data} and meta {meta}.

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