naftiko: 1.0.0-alpha2 info: label: Sentry Alerts API — Spike Protection description: 'Sentry Alerts API — Spike Protection. 2 operations. Lead operation: Sentry List spike protection notifications. Self-contained Naftiko capability covering one Sentry System business surface.' tags: - Sentry System - Spike Protection created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: SENTRY_SYSTEM_API_KEY: SENTRY_SYSTEM_API_KEY capability: consumes: - type: http namespace: sentry-alerts-spike-protection baseUri: https://sentry.io/api/0 description: Sentry Alerts API — Spike Protection business capability. Self-contained, no shared references. resources: - name: organizations-organization_id_or_slug-spike-protections path: /organizations/{organization_id_or_slug}/spike-protections/ operations: - name: listspikeprotectionnotifications method: GET description: Sentry List spike protection notifications outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createspikeprotectionnotification method: POST description: Sentry Create a spike protection notification action 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.SENTRY_SYSTEM_API_KEY}}' exposes: - type: rest namespace: sentry-alerts-spike-protection-rest port: 8080 description: REST adapter for Sentry Alerts API — Spike Protection. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/organizations/{organization-id-or-slug}/spike-protections name: organizations-organization-id-or-slug-spike-protections description: REST surface for organizations-organization_id_or_slug-spike-protections. operations: - method: GET name: listspikeprotectionnotifications description: Sentry List spike protection notifications call: sentry-alerts-spike-protection.listspikeprotectionnotifications outputParameters: - type: object mapping: $. - method: POST name: createspikeprotectionnotification description: Sentry Create a spike protection notification action call: sentry-alerts-spike-protection.createspikeprotectionnotification with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: sentry-alerts-spike-protection-mcp port: 9090 transport: http description: MCP adapter for Sentry Alerts API — Spike Protection. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: sentry-list-spike-protection-notifications description: Sentry List spike protection notifications hints: readOnly: true destructive: false idempotent: true call: sentry-alerts-spike-protection.listspikeprotectionnotifications outputParameters: - type: object mapping: $. - name: sentry-create-spike-protection-notification description: Sentry Create a spike protection notification action hints: readOnly: false destructive: false idempotent: false call: sentry-alerts-spike-protection.createspikeprotectionnotification with: body: tools.body outputParameters: - type: object mapping: $.