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 Mapping API

The Mapping API from Datadog — 3 operation(s) for mapping.

Datadog Mapping 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 Mapping. 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 5 operations across 3 paths, and defines 43 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}.

5 operations 3 paths 43 schemas 1 DELETE2 GET1 PATCH1 POST

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 Mapping 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 5

Across 3 paths, the API surfaces 5 operations — 1 DELETE, 2 GET, 1 PATCH, 1 POST. Each is listed below with its method, path, parameters, and response codes.

Mapping 5
POST
/api/v2/authn_mappings
Datadog Create an Authn Mapping
CreateAuthNMapping body → 200400403404429
DELETE
/api/v2/authn_mappings/{authn_mapping_id}
Datadog Delete an Authn Mapping
DeleteAuthNMapping 1 param → 204403404429
GET
/api/v2/authn_mappings/{authn_mapping_id}
Datadog Get an Authn Mapping by Uuid
GetAuthNMapping 1 param → 200403404429
PATCH
/api/v2/authn_mappings/{authn_mapping_id}
Datadog Edit an Authn Mapping
UpdateAuthNMapping 1 param body → 200400403404409422429
GET
/api/v2/usage/billing_dimension_mapping
Datadog Get Billing Dimension Mapping for Usage Endpoints
GetBillingDimensionMapping 2 params → 200400403429

Schemas 43

The contract defines 43 schemas that model the data the API accepts and returns. The most detailed are AuthNMappingTeamAttributes (7 properties), AuthNMappingAttributes (5 properties), Role (4 properties), AuthNMapping (4 properties). Each schema is shown below with its type and property counts.

AuthNMappingRelationships
object
All relationships associated with AuthN Mapping.
3 properties
AuthNMappingUpdateData
object
Data for updating an AuthN Mapping.
4 properties 2 required
AuthNMappingCreateRequest
object
Request for creating an AuthN Mapping.
1 property 1 required
SAMLAssertionAttributesType
string
SAML assertion attributes resource type.
AuthNMappingIncluded
Included data in the AuthN Mapping response.
PermissionsType
string
Permissions resource type.
AuthNMappingTeam
object
Team.
3 properties
RelationshipToTeam
object
Relationship to team.
1 property
RelationshipToPermissionData
object
Relationship to permission object.
2 properties
RelationshipToSAMLAssertionAttributeData
object
Data of AuthN Mapping relationship to SAML Assertion Attribute.
2 properties 2 required
APIErrorResponse
object
API error response.
1 property 1 required
RelationshipToRole
object
Relationship to role.
1 property
BillingDimensionsMappingResponse
object
Billing dimensions mapping response.
1 property
AuthNMappingResponse
object
AuthN Mapping response from the API.
2 properties
AuthNMappingTeamAttributes
object
Team attributes.
7 properties
BillingDimensionsMappingBodyItemAttributes
object
Mapping of billing dimensions to endpoint keys.
3 properties
AuthNMappingRelationshipToRole
object
Relationship of AuthN Mapping to a Role.
1 property 1 required
BillingDimensionsMappingBodyItem
object
The mapping data for each billing dimension.
3 properties
AuthNMappingCreateAttributes
object
Key/Value pair of attributes used for create request.
2 properties
AuthNMappingRelationshipToTeam
object
Relationship of AuthN Mapping to a Team.
1 property 1 required
BillingDimensionsMappingBodyItemAttributesEndpointsItems
object
An endpoint's keys mapped to the billingdimension.
3 properties
RoleResponseRelationships
object
Relationships of the role object returned by the API.
1 property
SAMLAssertionAttribute
object
SAML assertion attribute.
3 properties 2 required
TeamType
string
Team type
SAMLAssertionAttributeAttributes
object
Key/Value pair of attributes used in SAML assertion attributes.
2 properties
RoleAttributes
object
Attributes of the role.
4 properties
AuthNMappingUpdateRequest
object
Request to update an AuthN Mapping.
1 property 1 required
AuthNMappingUpdateRelationships
Relationship of AuthN Mapping update object to a Role or Team.
RelationshipToRoleData
object
Relationship to role object.
2 properties
BillingDimensionsMappingBody
array
Billing dimensions mapping data.
AuthNMapping
object
The AuthN Mapping object returned by API.
4 properties 2 required
RelationshipToTeamData
object
Relationship to Team object.
2 properties
AuthNMappingAttributes
object
Attributes of AuthN Mapping.
5 properties
RolesType
string
Roles type.
AuthNMappingUpdateAttributes
object
Key/Value pair of attributes used for update request.
2 properties
Role
object
Role object returned by the API.
4 properties 1 required
AuthNMappingCreateData
object
Data for creating an AuthN Mapping.
3 properties 1 required
AuthNMappingCreateRelationships
Relationship of AuthN Mapping create object to a Role or Team.
AuthNMappingsType
string
AuthN Mappings resource type.
ActiveBillingDimensionsType
string
Type of active billing dimensions data.
RelationshipToPermissions
object
Relationship to multiple permissions objects.
1 property
RelationshipToSAMLAssertionAttribute
object
AuthN Mapping relationship to SAML Assertion Attribute.
1 property 1 required
BillingDimensionsMappingBodyItemAttributesEndpointsItemsStatus
string
Denotes whether mapping keys were available for this endpoint.

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

datadog-mapping-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 Mapping 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.