Datadog · Capability

Datadog API — Case

Datadog API — Case. 8 operations. Lead operation: Datadog Create a Case. Self-contained Naftiko capability covering one Datadog business surface.

Run with Naftiko DatadogCase

What You Can Do

POST
Createcase — Datadog Create a Case
/v1/api/v2/cases
GET
Getcase — Datadog Get the Details of a Case
/v1/api/v2/cases/{case-id}
POST
Archivecase — Datadog Archive Case
/v1/api/v2/cases/{case-id}/archive
POST
Assigncase — Datadog Assign Case
/v1/api/v2/cases/{case-id}/assign
POST
Updatepriority — Datadog Update Case Priority
/v1/api/v2/cases/{case-id}/priority
POST
Updatestatus — Datadog Update Case Status
/v1/api/v2/cases/{case-id}/status
POST
Unarchivecase — Datadog Unarchive Case
/v1/api/v2/cases/{case-id}/unarchive
POST
Unassigncase — Datadog Unassign Case
/v1/api/v2/cases/{case-id}/unassign

MCP Tools

datadog-create-case

Datadog Create a Case

datadog-get-details-case

Datadog Get the Details of a Case

read-only idempotent
datadog-archive-case

Datadog Archive Case

datadog-assign-case

Datadog Assign Case

datadog-update-case-priority

Datadog Update Case Priority

datadog-update-case-status

Datadog Update Case Status

datadog-unarchive-case

Datadog Unarchive Case

datadog-unassign-case

Datadog Unassign Case

Capability Spec

datadog-case.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Datadog API — Case
  description: 'Datadog API — Case. 8 operations. Lead operation: Datadog Create a Case. Self-contained Naftiko capability
    covering one Datadog business surface.'
  tags:
  - Datadog
  - Case
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    DATADOG_API_KEY: DATADOG_API_KEY
capability:
  consumes:
  - type: http
    namespace: datadog-case
    baseUri: https://{subdomain}.{site}
    description: Datadog API — Case business capability. Self-contained, no shared references.
    resources:
    - name: api-v2-cases
      path: /api/v2/cases
      operations:
      - name: createcase
        method: POST
        description: Datadog Create a Case
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-v2-cases-case_id
      path: /api/v2/cases/{case_id}
      operations:
      - name: getcase
        method: GET
        description: Datadog Get the Details of a Case
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: api-v2-cases-case_id-archive
      path: /api/v2/cases/{case_id}/archive
      operations:
      - name: archivecase
        method: POST
        description: Datadog Archive Case
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-v2-cases-case_id-assign
      path: /api/v2/cases/{case_id}/assign
      operations:
      - name: assigncase
        method: POST
        description: Datadog Assign Case
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-v2-cases-case_id-priority
      path: /api/v2/cases/{case_id}/priority
      operations:
      - name: updatepriority
        method: POST
        description: Datadog Update Case Priority
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-v2-cases-case_id-status
      path: /api/v2/cases/{case_id}/status
      operations:
      - name: updatestatus
        method: POST
        description: Datadog Update Case Status
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-v2-cases-case_id-unarchive
      path: /api/v2/cases/{case_id}/unarchive
      operations:
      - name: unarchivecase
        method: POST
        description: Datadog Unarchive Case
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-v2-cases-case_id-unassign
      path: /api/v2/cases/{case_id}/unassign
      operations:
      - name: unassigncase
        method: POST
        description: Datadog Unassign Case
        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-case-rest
    port: 8080
    description: REST adapter for Datadog API — Case. One Spectral-compliant resource per consumed operation, prefixed with
      /v1.
    resources:
    - path: /v1/api/v2/cases
      name: api-v2-cases
      description: REST surface for api-v2-cases.
      operations:
      - method: POST
        name: createcase
        description: Datadog Create a Case
        call: datadog-case.createcase
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/v2/cases/{case-id}
      name: api-v2-cases-case-id
      description: REST surface for api-v2-cases-case_id.
      operations:
      - method: GET
        name: getcase
        description: Datadog Get the Details of a Case
        call: datadog-case.getcase
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/v2/cases/{case-id}/archive
      name: api-v2-cases-case-id-archive
      description: REST surface for api-v2-cases-case_id-archive.
      operations:
      - method: POST
        name: archivecase
        description: Datadog Archive Case
        call: datadog-case.archivecase
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/v2/cases/{case-id}/assign
      name: api-v2-cases-case-id-assign
      description: REST surface for api-v2-cases-case_id-assign.
      operations:
      - method: POST
        name: assigncase
        description: Datadog Assign Case
        call: datadog-case.assigncase
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/v2/cases/{case-id}/priority
      name: api-v2-cases-case-id-priority
      description: REST surface for api-v2-cases-case_id-priority.
      operations:
      - method: POST
        name: updatepriority
        description: Datadog Update Case Priority
        call: datadog-case.updatepriority
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/v2/cases/{case-id}/status
      name: api-v2-cases-case-id-status
      description: REST surface for api-v2-cases-case_id-status.
      operations:
      - method: POST
        name: updatestatus
        description: Datadog Update Case Status
        call: datadog-case.updatestatus
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/v2/cases/{case-id}/unarchive
      name: api-v2-cases-case-id-unarchive
      description: REST surface for api-v2-cases-case_id-unarchive.
      operations:
      - method: POST
        name: unarchivecase
        description: Datadog Unarchive Case
        call: datadog-case.unarchivecase
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/v2/cases/{case-id}/unassign
      name: api-v2-cases-case-id-unassign
      description: REST surface for api-v2-cases-case_id-unassign.
      operations:
      - method: POST
        name: unassigncase
        description: Datadog Unassign Case
        call: datadog-case.unassigncase
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: datadog-case-mcp
    port: 9090
    transport: http
    description: MCP adapter for Datadog API — Case. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: datadog-create-case
      description: Datadog Create a Case
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: datadog-case.createcase
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: datadog-get-details-case
      description: Datadog Get the Details of a Case
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: datadog-case.getcase
      outputParameters:
      - type: object
        mapping: $.
    - name: datadog-archive-case
      description: Datadog Archive Case
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: datadog-case.archivecase
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: datadog-assign-case
      description: Datadog Assign Case
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: datadog-case.assigncase
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: datadog-update-case-priority
      description: Datadog Update Case Priority
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: datadog-case.updatepriority
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: datadog-update-case-status
      description: Datadog Update Case Status
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: datadog-case.updatestatus
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: datadog-unarchive-case
      description: Datadog Unarchive Case
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: datadog-case.unarchivecase
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: datadog-unassign-case
      description: Datadog Unassign Case
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: datadog-case.unassigncase
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.