How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Datadog Filter API

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

Datadog Filter API is one of 186 APIs that Datadog publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

This API exposes 4 JSON Schema definitions.

Tagged areas include Filter. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, authentication docs, an API reference, and 4 JSON Schemas.

This API exposes 8 operations across 4 paths, and defines 49 schemas. It is described by OpenAPI 3.2.0, at version 1.0.

Requests are made against 3 base URLs: https://{subdomain}.{site}, {protocol}://{name}, https://{subdomain}.{site}.

8 operations 4 paths 49 schemas 4 GET2 PATCH2 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
1.0
Base URL
https://api.datadoghq.com
Authentication
OAuth 2.0, API Key, API Key, HTTP Bearer
Resource Areas
1

Authentication & Security 4

Datadog Filter API declares 4 security schemes for authenticating requests. It supports OAuth 2.0 (AuthZ) using the authorizationCode flow, exposing 68 scopes. An API key is passed in the header as DD-API-KEY (apiKeyAuth). An API key is passed in the header as DD-APPLICATION-KEY (appKeyAuth). It accepts HTTP bearer tokens (bearerAuth). By default, every request must be authenticated.

  • AuthZ — This API uses OAuth 2 with the implicit grant flow.
  • apiKeyAuth — Your Datadog API Key.
  • appKeyAuth — Your Datadog APP Key.

Paths & Operations 8

Across 4 paths, the API surfaces 8 operations — 4 GET, 2 PATCH, 2 PUT. Each is listed below with its method, path, parameters, and response codes.

Filter 8
GET
/api/v2/apm/config/retention-filters/{filter_id}
Datadog Get a Given Apm Retention Filter
GetApmRetentionFilter 1 param → 200403404429
PUT
/api/v2/apm/config/retention-filters/{filter_id}
Datadog Update a Retention Filter
UpdateApmRetentionFilter 1 param body → 200400403404429
GET
/api/v2/remote_config/products/asm/waf/exclusion_filters/{exclusion_filter_id}
Datadog Get a Waf Exclusion Filter
GetApplicationSecurityWafExclusionFilter 1 param → 200403404429
PUT
/api/v2/remote_config/products/asm/waf/exclusion_filters/{exclusion_filter_id}
Datadog Update a Waf Exclusion Filter
UpdateApplicationSecurityWafExclusionFilter 1 param body → 200400403404409429
GET
/api/v2/rum/applications/{app_id}/retention_filters/{rf_id}
Datadog Get a Rum Retention Filter
GetRetentionFilter 2 params → 200403404429
PATCH
/api/v2/rum/applications/{app_id}/retention_filters/{rf_id}
Datadog Update a Rum Retention Filter
UpdateRetentionFilter 2 params body → 200400403404429
GET
/api/v2/security_monitoring/configuration/security_filters/{security_filter_id}
Datadog Get a Security Filter
GetSecurityFilter 1 param → 200403404429
PATCH
/api/v2/security_monitoring/configuration/security_filters/{security_filter_id}
Datadog Update a Security Filter
UpdateSecurityFilter 1 param body → 200400403404409429

Schemas 49

The contract defines 49 schemas that model the data the API accepts and returns. The most detailed are RetentionFilterAllAttributes (12 properties), ApplicationSecurityWafExclusionFilterAttributes (11 properties), ApplicationSecurityWafExclusionFilterUpdateAttributes (8 properties), SecurityFilterAttributes (7 properties). Each schema is shown below with its type and property counts.

SecurityFilterFilteredDataType
string
The filtered data type.
RumRetentionFilterQuery
string
The query string for a RUM retention filter.
SecurityFilterID
string
The ID of the security filter.
APIErrorResponse
object
API error response.
1 property 1 required
SecurityFilterExclusionFilter
object
Exclusion filter for the security filter.
2 properties 2 required
RetentionFilterAllAttributes
object
The attributes of the retention filter.
12 properties
ApplicationSecurityWafExclusionFilterAttributes
object
Attributes describing a WAF exclusion filter.
11 properties
RumRetentionFilterType
string
The type of the resource. The value should always be retentionfilters.
RetentionFilterUpdateRequest
object
The body of the retention filter to be updated.
1 property 1 required
RumRetentionFilterData
object
The RUM retention filter.
3 properties
ApplicationSecurityWafExclusionFilterResource
object
A JSON:API resource for an WAF exclusion filter.
3 properties
SecurityFilterType
string
The type of the resource. The value should always be securityfilters.
ApplicationSecurityWafExclusionFilterID
string
The identifier of the WAF exclusion filter.
ApplicationSecurityWafExclusionFilterRulesTargetTags
object
Target multiple WAF rules based on their tags.
2 properties
RetentionFilterAll
object
The definition of the retention filter.
3 properties 3 required
SecurityFilter
object
The security filter's properties.
3 properties
ApplicationSecurityWafExclusionFilterResponse
object
Response object for a single WAF exclusion filter.
1 property
RumRetentionFilterResponse
object
The RUM retention filter object.
1 property
SecurityFilterUpdateAttributes
object
The security filters properties to be updated.
6 properties
RumRetentionFilterUpdateRequest
object
The RUM retention filter body to update.
1 property 1 required
ApplicationSecurityWafExclusionFilterScope
object
Deploy on services based on their environment and/or service name.
2 properties
RunRetentionFilterName
string
The name of a RUM retention filter.
RumRetentionFilterEventType
string
The type of RUM events to filter on.
SecurityFilterMeta
object
Optional metadata associated to the response.
1 property
RumRetentionFilterUpdateAttributes
object
The object describing attributes of a RUM retention filter to update.
5 properties
SecurityFilterUpdateRequest
object
The new security filter body.
1 property 1 required
SecurityFilterResponse
object
Response object which includes a single security filter.
2 properties
RumRetentionFilterAttributes
object
The object describing attributes of a RUM retention filter.
5 properties
RetentionFilterAllType
string
The type of retention filter.
ApplicationSecurityWafExclusionFilterUpdateData
object
Object for updating a single WAF exclusion filter.
2 properties 2 required
ApplicationSecurityWafExclusionFilterType
string
Type of the resource. The value should always be exclusionfilter.
RumRetentionFilterID
string
ID of retention filter in UUID.
RumRetentionFilterUpdateData
object
The new RUM retention filter properties to update.
3 properties 3 required
ApplicationSecurityWafExclusionFilterRulesTarget
object
Target WAF rules based either on an identifier or tags.
2 properties
RumRetentionFilterSampleRate
integer
The sample rate for a RUM retention filter, between 0 and 100.
ApplicationSecurityWafExclusionFilterUpdateAttributes
object
Attributes for updating a WAF exclusion filter.
8 properties 2 required
ApplicationSecurityWafExclusionFilterUpdateRequest
object
Request object for updating a single WAF exclusion filter.
1 property 1 required
SecurityFilterExclusionFilterResponse
object
A single exclusion filter.
2 properties
SecurityFilterAttributes
object
The object describing a security filter.
7 properties
SpansFilter
object
The spans filter used to index spans.
1 property
RetentionFilterResponse
object
The retention filters definition.
1 property
ApmRetentionFilterType
string
The type of the resource.
ApplicationSecurityWafExclusionFilterOnMatch
string
The action taken when the exclusion filter matches. When set to monitor, security traces are emitted but the requests are not blocked. By default, security tra…
SpansFilterCreate
object
The spans filter. Spans matching this filter will be indexed and stored.
1 property 1 required
ApplicationSecurityWafExclusionFilterMetadata
object
Extra information about the exclusion filter.
6 properties
SecurityFilterUpdateData
object
The new security filter properties.
2 properties 2 required
RetentionFilterUpdateData
object
The body of the retention filter to be updated.
3 properties 3 required
RetentionFilterUpdateAttributes
object
The object describing the configuration of the retention filter to create/update.
6 properties 5 required
RumRetentionFilterEnabled
boolean
Whether the retention filter is enabled.

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

datadog-filter-api-openapi.yml Raw ↑

Other APIs Datadog publishes across the network.

Datadog Dashboards API
Datadog Synthetics API
Datadog Service Level Objectives API
Datadog Security Monitoring API
Datadog Service Definition API
Datadog Software Catalog API
Datadog Users API
Datadog Roles API
Datadog Key Management API
Datadog Organizations API
Datadog Downtimes API
Datadog RUM API
Where this information came from

This is an independent, third-party profile of Datadog Filter API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.