Datadog · Capability

Datadog API — Archives

Datadog API — Archives. 1 operations. Lead operation: Datadog Get All Archives. Self-contained Naftiko capability covering one Datadog business surface.

Run with Naftiko DatadogArchives

What You Can Do

GET
Listlogsarchives — Datadog Get All Archives
/v1/api/v2/logs/config/archives

MCP Tools

datadog-get-all-archives

Datadog Get All Archives

read-only idempotent

Capability Spec

datadog-archives.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Datadog API — Archives
  description: 'Datadog API — Archives. 1 operations. Lead operation: Datadog Get All Archives. Self-contained Naftiko capability
    covering one Datadog business surface.'
  tags:
  - Datadog
  - Archives
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    DATADOG_API_KEY: DATADOG_API_KEY
capability:
  consumes:
  - type: http
    namespace: datadog-archives
    baseUri: https://{subdomain}.{site}
    description: Datadog API — Archives business capability. Self-contained, no shared references.
    resources:
    - name: api-v2-logs-config-archives
      path: /api/v2/logs/config/archives
      operations:
      - name: listlogsarchives
        method: GET
        description: Datadog Get All Archives
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.DATADOG_API_KEY}}'
  exposes:
  - type: rest
    namespace: datadog-archives-rest
    port: 8080
    description: REST adapter for Datadog API — Archives. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/api/v2/logs/config/archives
      name: api-v2-logs-config-archives
      description: REST surface for api-v2-logs-config-archives.
      operations:
      - method: GET
        name: listlogsarchives
        description: Datadog Get All Archives
        call: datadog-archives.listlogsarchives
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: datadog-archives-mcp
    port: 9090
    transport: http
    description: MCP adapter for Datadog API — Archives. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: datadog-get-all-archives
      description: Datadog Get All Archives
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: datadog-archives.listlogsarchives
      outputParameters:
      - type: object
        mapping: $.