provider Rum Retention Filters POST /api/v2/rum/applications/{app_id}/retention_filters
@utdk/datadog /api/v2/rum/applications/{app_id}/retention_filters
Create a RUM retention filter
Create a RUM retention filter for a RUM application. Returns RUM retention filter objects from the request body when the request is successful.
app_id path required
RUM application ID.
string

Try it

Authentication
Configure credentials for Datadog API V2 Collection
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

createretentionfilter
POST/api/v2/rum/applications/{app_id}/retention_filters
Create a RUM retention filter for a RUM application. Returns RUM retention filter objects from the request body when the request is successful.

Parameters

required

RUM application ID.

Input

required

The new RUM retention filter properties to create.

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import datadog from '@utdk/datadog';

await datadog.createretentionfilter()