Datadog · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Datadog Grants API

3 actions 3 updates phrasing extends openapi/datadog-grants-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 3

$.info
$.paths['/api/v2/logs/config/restriction_queries/{restriction_query_id}/roles'].post
$.paths['/api/v2/roles/{role_id}/permissions'].post

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 Grants API
  version: 1.0.0
extends: openapi/datadog-grants-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: 2
- target: $.paths['/api/v2/logs/config/restriction_queries/{restriction_query_id}/roles'].post
  update:
    x-apievangelist-phrasing:
      intent: Grant a role to a logs restriction query
      effect: write
      questions:
      - How do I apply a logs restriction query to a role?
      - Can I limit which logs a role sees by attaching a restriction query?
      instructions:
      - text: Grant role {data} to restriction query {restriction_query_id}.
        slots:
          restriction_query_id: path.restriction_query_id
          data: requestBody.data
      - text: Attach a role to logs restriction query {restriction_query_id}.
        slots:
          restriction_query_id: path.restriction_query_id
      method: generated
      generated: '2026-10-01'
- target: $.paths['/api/v2/roles/{role_id}/permissions'].post
  update:
    x-apievangelist-phrasing:
      intent: Grant a permission to a role
      effect: write
      questions:
      - How do I give a role an extra permission?
      - Can I add a single permission to a custom role?
      instructions:
      - text: Grant permission {data} to role {role_id}.
        slots:
          role_id: path.role_id
          data: requestBody.data
      - text: Add a permission to role {role_id}.
        slots:
          role_id: path.role_id
      method: generated
      generated: '2026-10-01'

Work with this as data

Every overlay here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for openapi overlays

4 MCP tools reach this
  • find_overlaysBrowse and filter every overlay in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/datadog-grants-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.