Datadog · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Datadog Metrics Metric Tags API

5 actions 5 updates phrasing extends openapi/datadog-metric-tags-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for Datadog's API. It is a proposal applied on top of the contract, not a document Datadog publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 5

$.info
$.paths['/api/v2/metrics/{metric_name}/tags'].get
$.paths['/api/v2/metrics/{metric_name}/tags'].post
$.paths['/api/v2/metrics/{metric_name}/tags'].delete
$.paths['/api/v2/metrics/{metric_name}/tags'].patch

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for Datadog Metrics Metric Tags API
  version: 1.0.0
extends: openapi/datadog-metric-tags-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-10-01'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 4
- target: $.paths['/api/v2/metrics/{metric_name}/tags'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a custom metric's tag configuration
      effect: read
      questions:
      - Which tag keys and aggregations are configured on a custom metric?
      - Is percentile exclusion turned on for one of my custom metrics?
      instructions:
      - text: Get the tag configuration for custom metric {metric_name}.
        slots:
          metric_name: path.metric_name
      - text: Show the configured tag keys and aggregations on {metric_name}.
        slots:
          metric_name: path.metric_name
      method: generated
      generated: '2026-10-01'
- target: $.paths['/api/v2/metrics/{metric_name}/tags'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a custom metric's tag configuration
      effect: write
      questions:
      - How do I choose which tag keys to keep on a custom metric?
      - Can I set the metric type and aggregations when creating a tag configuration?
      instructions:
      - text: Create a tag configuration for custom metric {metric_name} with {config}.
        slots:
          metric_name: path.metric_name
          config: requestBody.data
      - text: Configure {metric_name} to keep only the tags in {config}.
        slots:
          metric_name: path.metric_name
          config: requestBody.data
      method: generated
      generated: '2026-10-01'
- target: $.paths['/api/v2/metrics/{metric_name}/tags'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a custom metric's tag configuration
      effect: destructive
      questions:
      - What happens to my custom metric usage if I delete a tag configuration?
      - Can I undo deleting a metric's tag configuration?
      instructions:
      - text: Delete the tag configuration for custom metric {metric_name}.
        slots:
          metric_name: path.metric_name
      - text: Remove tag limits from {metric_name} so all tag combinations are stored.
        slots:
          metric_name: path.metric_name
      method: generated
      generated: '2026-10-01'
- target: $.paths['/api/v2/metrics/{metric_name}/tags'].patch
  update:
    x-apievangelist-phrasing:
      intent: Update a custom metric's tag configuration
      effect: write
      questions:
      - Can I partially update the tag keys on a custom metric with a merge patch?
      - How do I change the aggregation types on an existing tag configuration?
      instructions:
      - text: Update the tag configuration of custom metric {metric_name} with {changes}.
        slots:
          metric_name: path.metric_name
          changes: requestBody.data
      - text: Merge-patch {changes} into {metric_name}'s tag configuration.
        slots:
          changes: requestBody.data
          metric_name: path.metric_name
      method: generated
      generated: '2026-10-01'