Datadog · Capability

Datadog API — Destination

Datadog API — Destination. 4 operations. Lead operation: Datadog Create a Custom Destination. Self-contained Naftiko capability covering one Datadog business surface.

Run with Naftiko DatadogDestination

What You Can Do

POST
Createlogscustomdestination — Datadog Create a Custom Destination
/v1/api/v2/logs/config/custom-destinations
DELETE
Deletelogscustomdestination — Datadog Delete a Custom Destination
/v1/api/v2/logs/config/custom-destinations/{custom-destination-id}
GET
Getlogscustomdestination — Datadog Get a Custom Destination
/v1/api/v2/logs/config/custom-destinations/{custom-destination-id}
PATCH
Updatelogscustomdestination — Datadog Update a Custom Destination
/v1/api/v2/logs/config/custom-destinations/{custom-destination-id}

MCP Tools

datadog-create-custom-destination

Datadog Create a Custom Destination

datadog-delete-custom-destination

Datadog Delete a Custom Destination

idempotent
datadog-get-custom-destination

Datadog Get a Custom Destination

read-only idempotent
datadog-update-custom-destination

Datadog Update a Custom Destination

idempotent

Capability Spec

datadog-destination.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Datadog API — Destination
  description: 'Datadog API — Destination. 4 operations. Lead operation: Datadog Create a Custom Destination. Self-contained
    Naftiko capability covering one Datadog business surface.'
  tags:
  - Datadog
  - Destination
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    DATADOG_API_KEY: DATADOG_API_KEY
capability:
  consumes:
  - type: http
    namespace: datadog-destination
    baseUri: https://{subdomain}.{site}
    description: Datadog API — Destination business capability. Self-contained, no shared references.
    resources:
    - name: api-v2-logs-config-custom-destinations
      path: /api/v2/logs/config/custom-destinations
      operations:
      - name: createlogscustomdestination
        method: POST
        description: Datadog Create a Custom Destination
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-v2-logs-config-custom-destinations-custom_destination_id
      path: /api/v2/logs/config/custom-destinations/{custom_destination_id}
      operations:
      - name: deletelogscustomdestination
        method: DELETE
        description: Datadog Delete a Custom Destination
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: getlogscustomdestination
        method: GET
        description: Datadog Get a Custom Destination
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: updatelogscustomdestination
        method: PATCH
        description: Datadog Update a Custom Destination
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      token: '{{env.DATADOG_API_KEY}}'
  exposes:
  - type: rest
    namespace: datadog-destination-rest
    port: 8080
    description: REST adapter for Datadog API — Destination. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/api/v2/logs/config/custom-destinations
      name: api-v2-logs-config-custom-destinations
      description: REST surface for api-v2-logs-config-custom-destinations.
      operations:
      - method: POST
        name: createlogscustomdestination
        description: Datadog Create a Custom Destination
        call: datadog-destination.createlogscustomdestination
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/v2/logs/config/custom-destinations/{custom-destination-id}
      name: api-v2-logs-config-custom-destinations-custom-destination-id
      description: REST surface for api-v2-logs-config-custom-destinations-custom_destination_id.
      operations:
      - method: DELETE
        name: deletelogscustomdestination
        description: Datadog Delete a Custom Destination
        call: datadog-destination.deletelogscustomdestination
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: getlogscustomdestination
        description: Datadog Get a Custom Destination
        call: datadog-destination.getlogscustomdestination
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: updatelogscustomdestination
        description: Datadog Update a Custom Destination
        call: datadog-destination.updatelogscustomdestination
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: datadog-destination-mcp
    port: 9090
    transport: http
    description: MCP adapter for Datadog API — Destination. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: datadog-create-custom-destination
      description: Datadog Create a Custom Destination
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: datadog-destination.createlogscustomdestination
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: datadog-delete-custom-destination
      description: Datadog Delete a Custom Destination
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: datadog-destination.deletelogscustomdestination
      outputParameters:
      - type: object
        mapping: $.
    - name: datadog-get-custom-destination
      description: Datadog Get a Custom Destination
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: datadog-destination.getlogscustomdestination
      outputParameters:
      - type: object
        mapping: $.
    - name: datadog-update-custom-destination
      description: Datadog Update a Custom Destination
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: datadog-destination.updatelogscustomdestination
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.