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 290 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 16 operations across 8 paths, and defines 65 schemas. It is described by OpenAPI 3.0.0, at version 1.0.

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

16 operations 8 paths 65 schemas 4 DELETE4 GET2 PATCH4 POST2 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.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 16

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

Filter 16
POST
/api/v2/apm/config/retention-filters
Datadog Create a Retention Filter
CreateApmRetentionFilter body → 200400403409429
DELETE
/api/v2/apm/config/retention-filters/{filter_id}
Datadog Delete a Retention Filter
DeleteApmRetentionFilter 1 param → 200403404429
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
POST
/api/v2/remote_config/products/asm/waf/exclusion_filters
Datadog Create a Waf Exclusion Filter
CreateApplicationSecurityWafExclusionFilter body → 200400403409429
DELETE
/api/v2/remote_config/products/asm/waf/exclusion_filters/{exclusion_filter_id}
Datadog Delete a Waf Exclusion Filter
DeleteApplicationSecurityWafExclusionFilter 1 param → 204403404409429
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
POST
/api/v2/rum/applications/{app_id}/retention_filters
Datadog Create a Rum Retention Filter
CreateRetentionFilter 1 param body → 201400403429
DELETE
/api/v2/rum/applications/{app_id}/retention_filters/{rf_id}
Datadog Delete a Rum Retention Filter
DeleteRetentionFilter 2 params → 204403404429
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
POST
/api/v2/security_monitoring/configuration/security_filters
Datadog Create a Security Filter
CreateSecurityFilter body → 200400403409429
DELETE
/api/v2/security_monitoring/configuration/security_filters/{security_filter_id}
Datadog Delete a Security Filter
DeleteSecurityFilter 1 param → 204403404429
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 65

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

RumRetentionFilterEnabled
boolean
Whether the retention filter is enabled.
SpansFilterCreate
object
The spans filter. Spans matching this filter will be indexed and stored.
1 property 1 required
SecurityFilterExclusionFilter
object
Exclusion filter for the security filter.
2 properties 2 required
RetentionFilterAll
object
The definition of the retention filter.
3 properties 3 required
RumRetentionFilterType
string
The type of the resource. The value should always be retentionfilters.
RetentionFilterCreateAttributes
object
The object describing the configuration of the retention filter to create/update.
6 properties 5 required
SecurityFilterFilteredDataType
string
The filtered data type.
ApplicationSecurityWafExclusionFilterResource
object
A JSON:API resource for an WAF exclusion filter.
3 properties
ApplicationSecurityWafExclusionFilterScope
object
Deploy on services based on their environment and/or service name.
2 properties
SecurityFilterUpdateData
object
The new security filter properties.
2 properties 2 required
ApplicationSecurityWafExclusionFilterUpdateData
object
Object for updating a single WAF exclusion filter.
2 properties 2 required
RumRetentionFilterUpdateAttributes
object
The object describing attributes of a RUM retention filter to update.
5 properties
ApplicationSecurityWafExclusionFilterCreateRequest
object
Request object for creating a single WAF exclusion filter.
1 property 1 required
RumRetentionFilterQuery
string
The query string for a RUM retention filter.
RetentionFilterAllType
string
The type of retention filter.
APIErrorResponse
object
API error response.
1 property 1 required
SecurityFilter
object
The security filter's properties.
3 properties
RumRetentionFilterCreateRequest
object
The RUM retention filter body to create.
1 property 1 required
RetentionFilterCreateRequest
object
The body of the retention filter to be created.
1 property 1 required
RumRetentionFilterEventType
string
The type of RUM events to filter on.
ApplicationSecurityWafExclusionFilterUpdateAttributes
object
Attributes for updating a WAF exclusion filter.
8 properties 2 required
RetentionFilterResponse
object
The retention filters definition.
1 property
SecurityFilterType
string
The type of the resource. The value should always be securityfilters.
RetentionFilter
object
The definition of the retention filter.
3 properties 3 required
RetentionFilterCreateData
object
The body of the retention filter to be created.
2 properties 2 required
RumRetentionFilterCreateData
object
The new RUM retention filter properties to create.
2 properties 2 required
RumRetentionFilterSampleRate
integer
The sample rate for a RUM retention filter, between 0 and 100.
RetentionFilterUpdateData
object
The body of the retention filter to be updated.
3 properties 3 required
SecurityFilterCreateData
object
Object for a single security filter.
2 properties 2 required
ApplicationSecurityWafExclusionFilterUpdateRequest
object
Request object for updating a single WAF exclusion filter.
1 property 1 required
RetentionFilterAllAttributes
object
The attributes of the retention filter.
12 properties
RunRetentionFilterName
string
The name of a RUM retention filter.
RumRetentionFilterID
string
ID of retention filter in UUID.
ApplicationSecurityWafExclusionFilterAttributes
object
Attributes describing a WAF exclusion filter.
11 properties
SecurityFilterMeta
object
Optional metadata associated to the response.
1 property
RetentionFilterUpdateAttributes
object
The object describing the configuration of the retention filter to create/update.
6 properties 5 required
RetentionFilterAttributes
object
The attributes of the retention filter.
12 properties
RumRetentionFilterUpdateRequest
object
The RUM retention filter body to update.
1 property 1 required
SecurityFilterExclusionFilterResponse
object
A single exclusion filter.
2 properties
ApplicationSecurityWafExclusionFilterResponse
object
Response object for a single WAF exclusion filter.
1 property
ApplicationSecurityWafExclusionFilterCreateAttributes
object
Attributes for creating a WAF exclusion filter.
8 properties 2 required
SecurityFilterID
string
The ID of the security filter.
ApplicationSecurityWafExclusionFilterMetadata
object
Extra information about the exclusion filter.
6 properties
RumRetentionFilterData
object
The RUM retention filter.
3 properties
RumRetentionFilterAttributes
object
The object describing attributes of a RUM retention filter.
5 properties
ApmRetentionFilterType
string
The type of the resource.
SecurityFilterCreateAttributes
object
Object containing the attributes of the security filter to be created.
5 properties 5 required
RetentionFilterType
string
The type of retention filter. The value should always be spans-sampling-processor.
SecurityFilterUpdateAttributes
object
The security filters properties to be updated.
6 properties
SpansFilter
object
The spans filter used to index spans.
1 property
ApplicationSecurityWafExclusionFilterRulesTarget
object
Target WAF rules based either on an identifier or tags.
2 properties
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…
ApplicationSecurityWafExclusionFilterType
string
Type of the resource. The value should always be exclusionfilter.
SecurityFilterUpdateRequest
object
The new security filter body.
1 property 1 required
SecurityFilterCreateRequest
object
Request object that includes the security filter that you would like to create.
1 property 1 required
ApplicationSecurityWafExclusionFilterRulesTargetTags
object
Target multiple WAF rules based on their tags.
2 properties
ApplicationSecurityWafExclusionFilterID
string
The identifier of the WAF exclusion filter.
RumRetentionFilterUpdateData
object
The new RUM retention filter properties to update.
3 properties 3 required
RetentionFilterCreateResponse
object
The retention filters definition.
1 property
RetentionFilterUpdateRequest
object
The body of the retention filter to be updated.
1 property 1 required
ApplicationSecurityWafExclusionFilterCreateData
object
Object for creating a single WAF exclusion filter.
2 properties 2 required
SecurityFilterResponse
object
Response object which includes a single security filter.
2 properties
SecurityFilterAttributes
object
The object describing a security filter.
7 properties
RumRetentionFilterCreateAttributes
object
The object describing attributes of a RUM retention filter to create.
5 properties 3 required
RumRetentionFilterResponse
object
The RUM retention filter object.
1 property

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.