naftiko: 1.0.0-alpha2 info: label: Datadog API — Integration description: 'Datadog API — Integration. 9 operations. Lead operation: Datadog Get a List of an Incident''s Integration Metadata. Self-contained Naftiko capability covering one Datadog business surface.' tags: - Datadog - Integration created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: DATADOG_API_KEY: DATADOG_API_KEY capability: consumes: - type: http namespace: datadog-integration baseUri: https://{subdomain}.{site} description: Datadog API — Integration business capability. Self-contained, no shared references. resources: - name: api-v2-incidents-incident_id-relationships-integrations path: /api/v2/incidents/{incident_id}/relationships/integrations operations: - name: listincidentintegrations method: GET description: Datadog Get a List of an Incident's Integration Metadata outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createincidentintegration method: POST description: Datadog Create an Incident Integration Metadata outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: api-v2-incidents-incident_id-relationships-integrations-integration_metadata_id path: /api/v2/incidents/{incident_id}/relationships/integrations/{integration_metadata_id} operations: - name: deleteincidentintegration method: DELETE description: Datadog Delete an Incident Integration Metadata outputRawFormat: json outputParameters: - name: result type: object value: $. - name: getincidentintegration method: GET description: Datadog Get Incident Integration Metadata Details outputRawFormat: json outputParameters: - name: result type: object value: $. - name: updateincidentintegration method: PATCH description: Datadog Update an Existing Incident Integration Metadata 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-aws-accounts path: /api/v2/integration/aws/accounts operations: - name: createawsaccount method: POST description: Datadog Create an Aws Integration 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-aws-accounts-aws_account_config_id path: /api/v2/integration/aws/accounts/{aws_account_config_id} operations: - name: deleteawsaccount method: DELETE description: Datadog Delete an Aws Integration outputRawFormat: json outputParameters: - name: result type: object value: $. - name: getawsaccount method: GET description: Datadog Get an Aws Integration by Config Id outputRawFormat: json outputParameters: - name: result type: object value: $. - name: updateawsaccount method: PATCH description: Datadog Update an Aws Integration 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-integration-rest port: 8080 description: REST adapter for Datadog API — Integration. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/api/v2/incidents/{incident-id}/relationships/integrations name: api-v2-incidents-incident-id-relationships-integrations description: REST surface for api-v2-incidents-incident_id-relationships-integrations. operations: - method: GET name: listincidentintegrations description: Datadog Get a List of an Incident's Integration Metadata call: datadog-integration.listincidentintegrations outputParameters: - type: object mapping: $. - method: POST name: createincidentintegration description: Datadog Create an Incident Integration Metadata call: datadog-integration.createincidentintegration with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/v2/incidents/{incident-id}/relationships/integrations/{integration-metadata-id} name: api-v2-incidents-incident-id-relationships-integrations-integration-metadata-id description: REST surface for api-v2-incidents-incident_id-relationships-integrations-integration_metadata_id. operations: - method: DELETE name: deleteincidentintegration description: Datadog Delete an Incident Integration Metadata call: datadog-integration.deleteincidentintegration outputParameters: - type: object mapping: $. - method: GET name: getincidentintegration description: Datadog Get Incident Integration Metadata Details call: datadog-integration.getincidentintegration outputParameters: - type: object mapping: $. - method: PATCH name: updateincidentintegration description: Datadog Update an Existing Incident Integration Metadata call: datadog-integration.updateincidentintegration with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/v2/integration/aws/accounts name: api-v2-integration-aws-accounts description: REST surface for api-v2-integration-aws-accounts. operations: - method: POST name: createawsaccount description: Datadog Create an Aws Integration call: datadog-integration.createawsaccount with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/v2/integration/aws/accounts/{aws-account-config-id} name: api-v2-integration-aws-accounts-aws-account-config-id description: REST surface for api-v2-integration-aws-accounts-aws_account_config_id. operations: - method: DELETE name: deleteawsaccount description: Datadog Delete an Aws Integration call: datadog-integration.deleteawsaccount outputParameters: - type: object mapping: $. - method: GET name: getawsaccount description: Datadog Get an Aws Integration by Config Id call: datadog-integration.getawsaccount outputParameters: - type: object mapping: $. - method: PATCH name: updateawsaccount description: Datadog Update an Aws Integration call: datadog-integration.updateawsaccount with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: datadog-integration-mcp port: 9090 transport: http description: MCP adapter for Datadog API — Integration. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: datadog-get-list-incident-s-integration description: Datadog Get a List of an Incident's Integration Metadata hints: readOnly: true destructive: false idempotent: true call: datadog-integration.listincidentintegrations outputParameters: - type: object mapping: $. - name: datadog-create-incident-integration-metadata description: Datadog Create an Incident Integration Metadata hints: readOnly: false destructive: false idempotent: false call: datadog-integration.createincidentintegration with: body: tools.body outputParameters: - type: object mapping: $. - name: datadog-delete-incident-integration-metadata description: Datadog Delete an Incident Integration Metadata hints: readOnly: false destructive: true idempotent: true call: datadog-integration.deleteincidentintegration outputParameters: - type: object mapping: $. - name: datadog-get-incident-integration-metadata description: Datadog Get Incident Integration Metadata Details hints: readOnly: true destructive: false idempotent: true call: datadog-integration.getincidentintegration outputParameters: - type: object mapping: $. - name: datadog-update-existing-incident-integration description: Datadog Update an Existing Incident Integration Metadata hints: readOnly: false destructive: false idempotent: true call: datadog-integration.updateincidentintegration with: body: tools.body outputParameters: - type: object mapping: $. - name: datadog-create-aws-integration description: Datadog Create an Aws Integration hints: readOnly: false destructive: false idempotent: false call: datadog-integration.createawsaccount with: body: tools.body outputParameters: - type: object mapping: $. - name: datadog-delete-aws-integration description: Datadog Delete an Aws Integration hints: readOnly: false destructive: true idempotent: true call: datadog-integration.deleteawsaccount outputParameters: - type: object mapping: $. - name: datadog-get-aws-integration-config description: Datadog Get an Aws Integration by Config Id hints: readOnly: true destructive: false idempotent: true call: datadog-integration.getawsaccount outputParameters: - type: object mapping: $. - name: datadog-update-aws-integration description: Datadog Update an Aws Integration hints: readOnly: false destructive: false idempotent: true call: datadog-integration.updateawsaccount with: body: tools.body outputParameters: - type: object mapping: $.