Datadog Filter API

The Filter API from Datadog — 8 operation(s) for filter.

Operations 8

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

GET /api/v2/apm/config/retention-filters/{filter_id} Get an APM retention filter · Datadog Get a Given Apm Retention Filter #
Ask an LLM
“What does a specific APM retention filter keep?”
“Can I see the sample rate on one trace retention filter?”
Tell an agent
Show APM retention filter {filter_id}.
Get the query and rate of APM filter {filter_id}.
PUT /api/v2/apm/config/retention-filters/{filter_id} Update an APM retention filter · Datadog Update a Retention Filter #
Ask an LLM
“Can I change the sampling rate of an APM retention filter?”
“Why can't I rename the default spans-errors retention filter?”
Tell an agent
Update APM retention filter {filter_id} with {data}.
Change the span query on APM filter {filter_id}.
GET /api/v2/remote_config/products/asm/waf/exclusion_filters/{exclusion_filter_id} Get a WAF exclusion filter · Datadog Get a Waf Exclusion Filter #
Ask an LLM
“What traffic does a particular WAF exclusion filter skip?”
“Can I look up one exclusion filter by its ID?”
Tell an agent
Show WAF exclusion filter {exclusion_filter_id}.
Get the details of exclusion filter {exclusion_filter_id}.
PUT /api/v2/remote_config/products/asm/waf/exclusion_filters/{exclusion_filter_id} Update a WAF exclusion filter · Datadog Update a Waf Exclusion Filter #
Ask an LLM
“Can I edit the paths a WAF exclusion filter applies to?”
“Is it possible to disable an existing exclusion filter?”
Tell an agent
Update WAF exclusion filter {exclusion_filter_id} with {data}.
Edit exclusion filter {exclusion_filter_id}.
GET /api/v2/rum/applications/{app_id}/retention_filters/{rf_id} Get a RUM retention filter · Datadog Get a Rum Retention Filter #
Ask an LLM
“What does one RUM retention filter keep for an app?”
“Can I see the sample rate of a RUM retention filter?”
Tell an agent
Show RUM retention filter {rf_id} on app {app_id}.
Get filter {rf_id} for RUM application {app_id}.
PATCH /api/v2/rum/applications/{app_id}/retention_filters/{rf_id} Update a RUM retention filter · Datadog Update a Rum Retention Filter #
Ask an LLM
“Can I change how many RUM sessions a retention filter keeps?”
“Is editing a RUM retention filter's query possible?”
Tell an agent
Update RUM retention filter {rf_id} on app {app_id} with {data}.
Change the sample rate of RUM filter {rf_id} in app {app_id}.
GET /api/v2/security_monitoring/configuration/security_filters/{security_filter_id} Get a security filter · Datadog Get a Security Filter #
Ask an LLM
“Which logs does a given security filter exclude from analysis?”
“Can I view the definition of one security filter?”
Tell an agent
Show security filter {security_filter_id}.
Get the exclusions on security filter {security_filter_id}.
PATCH /api/v2/security_monitoring/configuration/security_filters/{security_filter_id} Update a security filter · Datadog Update a Security Filter #
Ask an LLM
“Can I add exclusions to an existing security filter?”
“Is it possible to disable a security filter?”
Tell an agent
Update security filter {security_filter_id} with {data}.
Edit the query of security filter {security_filter_id}.

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