naftiko: 1.0.0-alpha2 info: label: PagerDuty API — Audit description: 'PagerDuty API — Audit. 1 operations. Lead operation: PagerDuty List audit records. Self-contained Naftiko capability covering one Pagerduty business surface.' tags: - Pagerduty - Audit created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: PAGERDUTY_API_KEY: PAGERDUTY_API_KEY capability: consumes: - type: http namespace: pagerduty-audit baseUri: https://api.pagerduty.com description: PagerDuty API — Audit business capability. Self-contained, no shared references. resources: - name: audit-records path: /audit/records operations: - name: listauditrecords method: GET description: PagerDuty List audit records outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: apikey key: Authorization value: '{{env.PAGERDUTY_API_KEY}}' placement: header exposes: - type: rest namespace: pagerduty-audit-rest port: 8080 description: REST adapter for PagerDuty API — Audit. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/audit/records name: audit-records description: REST surface for audit-records. operations: - method: GET name: listauditrecords description: PagerDuty List audit records call: pagerduty-audit.listauditrecords outputParameters: - type: object mapping: $. - type: mcp namespace: pagerduty-audit-mcp port: 9090 transport: http description: MCP adapter for PagerDuty API — Audit. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: pagerduty-list-audit-records description: PagerDuty List audit records hints: readOnly: true destructive: false idempotent: true call: pagerduty-audit.listauditrecords outputParameters: - type: object mapping: $.