---
title: "Get mapping"
method: GET
path: "/api/v2/product-analytics/{entity}/mapping"
tags: ["Rum Audience Management"]
---

# Get mapping

`GET /api/v2/product-analytics/{entity}/mapping`

## Request

- Base URL: `https://api.datadoghq.com`
- URL: `https://api.datadoghq.com/api/v2/product-analytics/{entity}/mapping`
- Auth: one of:
  - API key in header `DD-API-KEY` and API key in header `DD-APPLICATION-KEY`
  - OAuth 2
    - Authorization code: `/oauth2/v1/authorize`
    - Token URL: `/oauth2/v1/token`

Get entity mapping configuration including all available attributes and their properties

## Path parameters

- `entity` string, required

## Response `200`

Successful response with entity mapping configuration

- GetMappingResponse: Response containing the entity attribute mapping configuration including all available attributes and their properties.
  - `data` GetMappingResponseData: The data object containing the resource type and attributes for the get mapping response.
    - `attributes` GetMappingResponseDataAttributes: Attributes of the get mapping response, containing the list of configured entity attributes.
      - `attributes` GetMappingResponseDataAttributesAttributesItems[]: The list of entity attributes and their mapping configurations.
        - `attribute` string: The attribute identifier as used in the entity data model.
        - `description` string: Human-readable explanation of what the attribute represents.
        - `display_name` string: The human-readable label for the attribute shown in the UI.
        - `groups` string[]: List of group labels used to categorize the attribute.
        - `is_custom` boolean: Whether this attribute is a custom user-defined attribute rather than a built-in one.
        - `type` string: The data type of the attribute (for example, string or number).
    - `id` string: Unique identifier for the get mapping response resource.
    - `type` 'get_mappings_response', required: Get mappings response resource type.

## Other responses

- `429`: Too many requests

---

[API](https://skmtc.dev/datadog/apis/datadog-api-v2-collection.md) - [All operations](https://skmtc.dev/datadog/apis/datadog-api-v2-collection/llms.txt) - [OpenAPI document](https://skmtc.dev/datadog/apis/datadog-api-v2-collection/revisions/da68bf029e4c?raw)
