naftiko: 1.0.0-alpha2 info: label: Datadog API — Handle description: 'Datadog API — Handle. 8 operations. Lead operation: Datadog Create Tenant-based Handle. Self-contained Naftiko capability covering one Datadog business surface.' tags: - Datadog - Handle created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: DATADOG_API_KEY: DATADOG_API_KEY capability: consumes: - type: http namespace: datadog-handle baseUri: https://{subdomain}.{site} description: Datadog API — Handle business capability. Self-contained, no shared references. resources: - name: api-v2-integration-ms-teams-configuration-tenant-based-handles path: /api/v2/integration/ms-teams/configuration/tenant-based-handles operations: - name: createtenantbasedhandle method: POST description: Datadog Create Tenant-based 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-tenant-based-handles-handle_id path: /api/v2/integration/ms-teams/configuration/tenant-based-handles/{handle_id} operations: - name: deletetenantbasedhandle method: DELETE description: Datadog Delete Tenant-based Handle outputRawFormat: json outputParameters: - name: result type: object value: $. - name: gettenantbasedhandle method: GET description: Datadog Get Tenant-based Handle Information outputRawFormat: json outputParameters: - name: result type: object value: $. - name: updatetenantbasedhandle method: PATCH description: Datadog Update Tenant-based 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 path: /api/v2/integration/ms-teams/configuration/workflows-webhook-handles operations: - 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 authentication: type: bearer token: '{{env.DATADOG_API_KEY}}' exposes: - type: rest namespace: datadog-handle-rest port: 8080 description: REST adapter for Datadog API — Handle. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/api/v2/integration/ms-teams/configuration/tenant-based-handles name: api-v2-integration-ms-teams-configuration-tenant-based-handles description: REST surface for api-v2-integration-ms-teams-configuration-tenant-based-handles. operations: - method: POST name: createtenantbasedhandle description: Datadog Create Tenant-based Handle call: datadog-handle.createtenantbasedhandle with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/v2/integration/ms-teams/configuration/tenant-based-handles/{handle-id} name: api-v2-integration-ms-teams-configuration-tenant-based-handles-handle-id description: REST surface for api-v2-integration-ms-teams-configuration-tenant-based-handles-handle_id. operations: - method: DELETE name: deletetenantbasedhandle description: Datadog Delete Tenant-based Handle call: datadog-handle.deletetenantbasedhandle outputParameters: - type: object mapping: $. - method: GET name: gettenantbasedhandle description: Datadog Get Tenant-based Handle Information call: datadog-handle.gettenantbasedhandle outputParameters: - type: object mapping: $. - method: PATCH name: updatetenantbasedhandle description: Datadog Update Tenant-based Handle call: datadog-handle.updatetenantbasedhandle with: body: rest.body outputParameters: - type: object mapping: $. - 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: POST name: createworkflowswebhookhandle description: Datadog Create Workflows Webhook Handle call: datadog-handle.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-handle.deleteworkflowswebhookhandle outputParameters: - type: object mapping: $. - method: GET name: getworkflowswebhookhandle description: Datadog Get Workflows Webhook Handle Information call: datadog-handle.getworkflowswebhookhandle outputParameters: - type: object mapping: $. - method: PATCH name: updateworkflowswebhookhandle description: Datadog Update Workflows Webhook Handle call: datadog-handle.updateworkflowswebhookhandle with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: datadog-handle-mcp port: 9090 transport: http description: MCP adapter for Datadog API — Handle. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: datadog-create-tenant-based-handle description: Datadog Create Tenant-based Handle hints: readOnly: false destructive: false idempotent: false call: datadog-handle.createtenantbasedhandle with: body: tools.body outputParameters: - type: object mapping: $. - name: datadog-delete-tenant-based-handle description: Datadog Delete Tenant-based Handle hints: readOnly: false destructive: true idempotent: true call: datadog-handle.deletetenantbasedhandle outputParameters: - type: object mapping: $. - name: datadog-get-tenant-based-handle description: Datadog Get Tenant-based Handle Information hints: readOnly: true destructive: false idempotent: true call: datadog-handle.gettenantbasedhandle outputParameters: - type: object mapping: $. - name: datadog-update-tenant-based-handle description: Datadog Update Tenant-based Handle hints: readOnly: false destructive: false idempotent: true call: datadog-handle.updatetenantbasedhandle with: body: tools.body 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-handle.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-handle.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-handle.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-handle.updateworkflowswebhookhandle with: body: tools.body outputParameters: - type: object mapping: $.