Datadog · Capability

Datadog API — Interfaces

Datadog API — Interfaces. 1 operations. Lead operation: Datadog Get the List of Interfaces of the Device. Self-contained Naftiko capability covering one Datadog business surface.

Run with Naftiko DatadogInterfaces

What You Can Do

GET
Getinterfaces — Datadog Get the List of Interfaces of the Device
/v1/api/v2/ndm/interfaces

MCP Tools

datadog-get-list-interfaces-device

Datadog Get the List of Interfaces of the Device

read-only idempotent

Capability Spec

datadog-interfaces.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Datadog API — Interfaces
  description: 'Datadog API — Interfaces. 1 operations. Lead operation: Datadog Get the List of Interfaces of the Device.
    Self-contained Naftiko capability covering one Datadog business surface.'
  tags:
  - Datadog
  - Interfaces
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    DATADOG_API_KEY: DATADOG_API_KEY
capability:
  consumes:
  - type: http
    namespace: datadog-interfaces
    baseUri: https://{subdomain}.{site}
    description: Datadog API — Interfaces business capability. Self-contained, no shared references.
    resources:
    - name: api-v2-ndm-interfaces
      path: /api/v2/ndm/interfaces
      operations:
      - name: getinterfaces
        method: GET
        description: Datadog Get the List of Interfaces of the Device
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: device_id
          in: query
          type: string
          description: The ID of the device to get interfaces from.
          required: true
        - name: get_ip_addresses
          in: query
          type: boolean
          description: Whether to get the IP addresses of the interfaces.
    authentication:
      type: bearer
      token: '{{env.DATADOG_API_KEY}}'
  exposes:
  - type: rest
    namespace: datadog-interfaces-rest
    port: 8080
    description: REST adapter for Datadog API — Interfaces. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/api/v2/ndm/interfaces
      name: api-v2-ndm-interfaces
      description: REST surface for api-v2-ndm-interfaces.
      operations:
      - method: GET
        name: getinterfaces
        description: Datadog Get the List of Interfaces of the Device
        call: datadog-interfaces.getinterfaces
        with:
          device_id: rest.device_id
          get_ip_addresses: rest.get_ip_addresses
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: datadog-interfaces-mcp
    port: 9090
    transport: http
    description: MCP adapter for Datadog API — Interfaces. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: datadog-get-list-interfaces-device
      description: Datadog Get the List of Interfaces of the Device
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: datadog-interfaces.getinterfaces
      with:
        device_id: tools.device_id
        get_ip_addresses: tools.get_ip_addresses
      outputParameters:
      - type: object
        mapping: $.