naftiko: 1.0.0-alpha2 info: label: Datadog API — Workflows description: 'Datadog API — Workflows. 13 operations. Lead operation: Datadog Get All Workflows Webhook Handles. Self-contained Naftiko capability covering one Datadog business surface.' tags: - Datadog - Workflows created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: DATADOG_API_KEY: DATADOG_API_KEY capability: consumes: - type: http namespace: datadog-workflows baseUri: https://{subdomain}.{site} description: Datadog API — Workflows business capability. Self-contained, no shared references. resources: - name: api-v2-integration-ms-teams-configuration-workflows-webhook-handles path: /api/v2/integration/ms-teams/configuration/workflows-webhook-handles operations: - name: listworkflowswebhookhandles method: GET description: Datadog Get All Workflows Webhook Handles outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createworkflowswebhookhandle method: POST description: Datadog Create Workflows Webhook Handle outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: api-v2-integration-ms-teams-configuration-workflows-webhook-handles-handle_id path: /api/v2/integration/ms-teams/configuration/workflows-webhook-handles/{handle_id} operations: - name: deleteworkflowswebhookhandle method: DELETE description: Datadog Delete Workflows Webhook Handle outputRawFormat: json outputParameters: - name: result type: object value: $. - name: getworkflowswebhookhandle method: GET description: Datadog Get Workflows Webhook Handle Information outputRawFormat: json outputParameters: - name: result type: object value: $. - name: updateworkflowswebhookhandle method: PATCH description: Datadog Update Workflows Webhook Handle outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: api-v2-workflows path: /api/v2/workflows operations: - name: createworkflow method: POST description: Datadog Create a Workflow outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: api-v2-workflows-workflow_id path: /api/v2/workflows/{workflow_id} operations: - name: deleteworkflow method: DELETE description: Datadog Delete an Existing Workflow outputRawFormat: json outputParameters: - name: result type: object value: $. - name: getworkflow method: GET description: Datadog Get an Existing Workflow outputRawFormat: json outputParameters: - name: result type: object value: $. - name: updateworkflow method: PATCH description: Datadog Update an Existing Workflow outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: api-v2-workflows-workflow_id-instances path: /api/v2/workflows/{workflow_id}/instances operations: - name: listworkflowinstances method: GET description: Datadog List Workflow Instances outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createworkflowinstance method: POST description: Datadog Execute a Workflow outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: api-v2-workflows-workflow_id-instances-instance_id path: /api/v2/workflows/{workflow_id}/instances/{instance_id} operations: - name: getworkflowinstance method: GET description: Datadog Get a Workflow Instance outputRawFormat: json outputParameters: - name: result type: object value: $. - name: api-v2-workflows-workflow_id-instances-instance_id-cancel path: /api/v2/workflows/{workflow_id}/instances/{instance_id}/cancel operations: - name: cancelworkflowinstance method: PUT description: Datadog Cancel a Workflow Instance outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.DATADOG_API_KEY}}' exposes: - type: rest namespace: datadog-workflows-rest port: 8080 description: REST adapter for Datadog API — Workflows. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/api/v2/integration/ms-teams/configuration/workflows-webhook-handles name: api-v2-integration-ms-teams-configuration-workflows-webhook-handles description: REST surface for api-v2-integration-ms-teams-configuration-workflows-webhook-handles. operations: - method: GET name: listworkflowswebhookhandles description: Datadog Get All Workflows Webhook Handles call: datadog-workflows.listworkflowswebhookhandles outputParameters: - type: object mapping: $. - method: POST name: createworkflowswebhookhandle description: Datadog Create Workflows Webhook Handle call: datadog-workflows.createworkflowswebhookhandle with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/v2/integration/ms-teams/configuration/workflows-webhook-handles/{handle-id} name: api-v2-integration-ms-teams-configuration-workflows-webhook-handles-handle-id description: REST surface for api-v2-integration-ms-teams-configuration-workflows-webhook-handles-handle_id. operations: - method: DELETE name: deleteworkflowswebhookhandle description: Datadog Delete Workflows Webhook Handle call: datadog-workflows.deleteworkflowswebhookhandle outputParameters: - type: object mapping: $. - method: GET name: getworkflowswebhookhandle description: Datadog Get Workflows Webhook Handle Information call: datadog-workflows.getworkflowswebhookhandle outputParameters: - type: object mapping: $. - method: PATCH name: updateworkflowswebhookhandle description: Datadog Update Workflows Webhook Handle call: datadog-workflows.updateworkflowswebhookhandle with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/v2/workflows name: api-v2-workflows description: REST surface for api-v2-workflows. operations: - method: POST name: createworkflow description: Datadog Create a Workflow call: datadog-workflows.createworkflow with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/v2/workflows/{workflow-id} name: api-v2-workflows-workflow-id description: REST surface for api-v2-workflows-workflow_id. operations: - method: DELETE name: deleteworkflow description: Datadog Delete an Existing Workflow call: datadog-workflows.deleteworkflow outputParameters: - type: object mapping: $. - method: GET name: getworkflow description: Datadog Get an Existing Workflow call: datadog-workflows.getworkflow outputParameters: - type: object mapping: $. - method: PATCH name: updateworkflow description: Datadog Update an Existing Workflow call: datadog-workflows.updateworkflow with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/v2/workflows/{workflow-id}/instances name: api-v2-workflows-workflow-id-instances description: REST surface for api-v2-workflows-workflow_id-instances. operations: - method: GET name: listworkflowinstances description: Datadog List Workflow Instances call: datadog-workflows.listworkflowinstances outputParameters: - type: object mapping: $. - method: POST name: createworkflowinstance description: Datadog Execute a Workflow call: datadog-workflows.createworkflowinstance with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/v2/workflows/{workflow-id}/instances/{instance-id} name: api-v2-workflows-workflow-id-instances-instance-id description: REST surface for api-v2-workflows-workflow_id-instances-instance_id. operations: - method: GET name: getworkflowinstance description: Datadog Get a Workflow Instance call: datadog-workflows.getworkflowinstance outputParameters: - type: object mapping: $. - path: /v1/api/v2/workflows/{workflow-id}/instances/{instance-id}/cancel name: api-v2-workflows-workflow-id-instances-instance-id-cancel description: REST surface for api-v2-workflows-workflow_id-instances-instance_id-cancel. operations: - method: PUT name: cancelworkflowinstance description: Datadog Cancel a Workflow Instance call: datadog-workflows.cancelworkflowinstance outputParameters: - type: object mapping: $. - type: mcp namespace: datadog-workflows-mcp port: 9090 transport: http description: MCP adapter for Datadog API — Workflows. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: datadog-get-all-workflows-webhook description: Datadog Get All Workflows Webhook Handles hints: readOnly: true destructive: false idempotent: true call: datadog-workflows.listworkflowswebhookhandles outputParameters: - type: object mapping: $. - name: datadog-create-workflows-webhook-handle description: Datadog Create Workflows Webhook Handle hints: readOnly: false destructive: false idempotent: false call: datadog-workflows.createworkflowswebhookhandle with: body: tools.body outputParameters: - type: object mapping: $. - name: datadog-delete-workflows-webhook-handle description: Datadog Delete Workflows Webhook Handle hints: readOnly: false destructive: true idempotent: true call: datadog-workflows.deleteworkflowswebhookhandle outputParameters: - type: object mapping: $. - name: datadog-get-workflows-webhook-handle description: Datadog Get Workflows Webhook Handle Information hints: readOnly: true destructive: false idempotent: true call: datadog-workflows.getworkflowswebhookhandle outputParameters: - type: object mapping: $. - name: datadog-update-workflows-webhook-handle description: Datadog Update Workflows Webhook Handle hints: readOnly: false destructive: false idempotent: true call: datadog-workflows.updateworkflowswebhookhandle with: body: tools.body outputParameters: - type: object mapping: $. - name: datadog-create-workflow description: Datadog Create a Workflow hints: readOnly: false destructive: false idempotent: false call: datadog-workflows.createworkflow with: body: tools.body outputParameters: - type: object mapping: $. - name: datadog-delete-existing-workflow description: Datadog Delete an Existing Workflow hints: readOnly: false destructive: true idempotent: true call: datadog-workflows.deleteworkflow outputParameters: - type: object mapping: $. - name: datadog-get-existing-workflow description: Datadog Get an Existing Workflow hints: readOnly: true destructive: false idempotent: true call: datadog-workflows.getworkflow outputParameters: - type: object mapping: $. - name: datadog-update-existing-workflow description: Datadog Update an Existing Workflow hints: readOnly: false destructive: false idempotent: true call: datadog-workflows.updateworkflow with: body: tools.body outputParameters: - type: object mapping: $. - name: datadog-list-workflow-instances description: Datadog List Workflow Instances hints: readOnly: true destructive: false idempotent: true call: datadog-workflows.listworkflowinstances outputParameters: - type: object mapping: $. - name: datadog-execute-workflow description: Datadog Execute a Workflow hints: readOnly: false destructive: false idempotent: false call: datadog-workflows.createworkflowinstance with: body: tools.body outputParameters: - type: object mapping: $. - name: datadog-get-workflow-instance description: Datadog Get a Workflow Instance hints: readOnly: true destructive: false idempotent: true call: datadog-workflows.getworkflowinstance outputParameters: - type: object mapping: $. - name: datadog-cancel-workflow-instance description: Datadog Cancel a Workflow Instance hints: readOnly: false destructive: false idempotent: true call: datadog-workflows.cancelworkflowinstance outputParameters: - type: object mapping: $.