Datadog · Capability

Datadog API — Download

Datadog API — Download. 2 operations. Lead operation: Datadog Download the Workload Protection Policy. Self-contained Naftiko capability covering one Datadog business surface.

Run with Naftiko DatadogDownload

What You Can Do

GET
Downloadcsmthreatspolicy — Datadog Download the Workload Protection Policy
/v1/api/v2/remote-config/products/cws/policy/download
GET
Downloadcloudworkloadpolicyfile — Datadog Download the Workload Protection Policy (us1-fed)
/v1/api/v2/security/cloud-workload/policy/download

MCP Tools

datadog-download-workload-protection-policy

Datadog Download the Workload Protection Policy

read-only idempotent
datadog-download-workload-protection-policy-2

Datadog Download the Workload Protection Policy (us1-fed)

read-only idempotent

Capability Spec

datadog-download.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Datadog API — Download
  description: 'Datadog API — Download. 2 operations. Lead operation: Datadog Download the Workload Protection Policy. Self-contained
    Naftiko capability covering one Datadog business surface.'
  tags:
  - Datadog
  - Download
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    DATADOG_API_KEY: DATADOG_API_KEY
capability:
  consumes:
  - type: http
    namespace: datadog-download
    baseUri: https://{subdomain}.{site}
    description: Datadog API — Download business capability. Self-contained, no shared references.
    resources:
    - name: api-v2-remote_config-products-cws-policy-download
      path: /api/v2/remote_config/products/cws/policy/download
      operations:
      - name: downloadcsmthreatspolicy
        method: GET
        description: Datadog Download the Workload Protection Policy
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: api-v2-security-cloud_workload-policy-download
      path: /api/v2/security/cloud_workload/policy/download
      operations:
      - name: downloadcloudworkloadpolicyfile
        method: GET
        description: Datadog Download the Workload Protection Policy (us1-fed)
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.DATADOG_API_KEY}}'
  exposes:
  - type: rest
    namespace: datadog-download-rest
    port: 8080
    description: REST adapter for Datadog API — Download. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/api/v2/remote-config/products/cws/policy/download
      name: api-v2-remote-config-products-cws-policy-download
      description: REST surface for api-v2-remote_config-products-cws-policy-download.
      operations:
      - method: GET
        name: downloadcsmthreatspolicy
        description: Datadog Download the Workload Protection Policy
        call: datadog-download.downloadcsmthreatspolicy
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/v2/security/cloud-workload/policy/download
      name: api-v2-security-cloud-workload-policy-download
      description: REST surface for api-v2-security-cloud_workload-policy-download.
      operations:
      - method: GET
        name: downloadcloudworkloadpolicyfile
        description: Datadog Download the Workload Protection Policy (us1-fed)
        call: datadog-download.downloadcloudworkloadpolicyfile
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: datadog-download-mcp
    port: 9090
    transport: http
    description: MCP adapter for Datadog API — Download. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: datadog-download-workload-protection-policy
      description: Datadog Download the Workload Protection Policy
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: datadog-download.downloadcsmthreatspolicy
      outputParameters:
      - type: object
        mapping: $.
    - name: datadog-download-workload-protection-policy-2
      description: Datadog Download the Workload Protection Policy (us1-fed)
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: datadog-download.downloadcloudworkloadpolicyfile
      outputParameters:
      - type: object
        mapping: $.