provider Usage Metering GET /api/v2/usage/billing_dimension_mapping
@utdk/datadog /api/v2/usage/billing_dimension_mapping
Get billing dimension mapping for usage endpoints
Get a mapping of billing dimensions to the corresponding keys for the supported usage metering public API endpoints. Mapping data is updated on a monthly cadence. This endpoint is only accessible to [parent-level organizations](https://docs.datadoghq.com/account_management/multi_organization/).
filter[month] query
Datetime in ISO-8601 format, UTC, and for mappings beginning this month. Defaults to the current month.
string
filter[view] query
String to specify whether to retrieve active billing dimension mappings for the contract or for all available mappings. Allowed views have the string `active` or `all`. Defaults to `active`.
string

Try it

Authentication
Configure credentials for Datadog API V2 Collection
getbillingdimensionmapping
GET/api/v2/usage/billing_dimension_mapping
Get a mapping of billing dimensions to the corresponding keys for the supported usage metering public API endpoints. Mapping data is updated on a monthly cadence. This endpoint is only accessible to [parent-level organizations](https://docs.datadoghq.com/account_management/multi_organization/).

Datetime in ISO-8601 format, UTC, and for mappings beginning this month. Defaults to the current month.

String to specify whether to retrieve active billing dimension mappings for the contract or for all available mappings. Allowed views have the string `active` or `all`. Defaults to `active`.

Configure credentials above to enable sending.

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

TypeScript

import datadog from '@utdk/datadog';

await datadog.getbillingdimensionmapping({
  "filter[view]": "active"
})