naftiko: 1.0.0-alpha2 info: label: Sentry Alerts API — Issue Alerts description: 'Sentry Alerts API — Issue Alerts. 5 operations. Lead operation: Sentry List a project''s issue alert rules. Self-contained Naftiko capability covering one Sentry System business surface.' tags: - Sentry System - Issue Alerts 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-issue-alerts baseUri: https://sentry.io/api/0 description: Sentry Alerts API — Issue Alerts business capability. Self-contained, no shared references. resources: - name: projects-organization_id_or_slug-project_id_or_slug-rules path: /projects/{organization_id_or_slug}/{project_id_or_slug}/rules/ operations: - name: listissuealertrules method: GET description: Sentry List a project's issue alert rules outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createissuealertrule method: POST description: Sentry Create an issue alert rule for a project outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: projects-organization_id_or_slug-project_id_or_slug-rules-rule_id path: /projects/{organization_id_or_slug}/{project_id_or_slug}/rules/{rule_id}/ operations: - name: retrieveissuealertrule method: GET description: Sentry Retrieve an issue alert rule for a project outputRawFormat: json outputParameters: - name: result type: object value: $. - name: updateissuealertrule method: PUT description: Sentry Update an issue alert rule outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: deleteissuealertrule method: DELETE description: Sentry Delete an issue alert rule outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.SENTRY_SYSTEM_API_KEY}}' exposes: - type: rest namespace: sentry-alerts-issue-alerts-rest port: 8080 description: REST adapter for Sentry Alerts API — Issue Alerts. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/projects/{organization-id-or-slug}/{project-id-or-slug}/rules name: projects-organization-id-or-slug-project-id-or-slug-rules description: REST surface for projects-organization_id_or_slug-project_id_or_slug-rules. operations: - method: GET name: listissuealertrules description: Sentry List a project's issue alert rules call: sentry-alerts-issue-alerts.listissuealertrules outputParameters: - type: object mapping: $. - method: POST name: createissuealertrule description: Sentry Create an issue alert rule for a project call: sentry-alerts-issue-alerts.createissuealertrule with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/projects/{organization-id-or-slug}/{project-id-or-slug}/rules/{rule-id} name: projects-organization-id-or-slug-project-id-or-slug-rules-rule-id description: REST surface for projects-organization_id_or_slug-project_id_or_slug-rules-rule_id. operations: - method: GET name: retrieveissuealertrule description: Sentry Retrieve an issue alert rule for a project call: sentry-alerts-issue-alerts.retrieveissuealertrule outputParameters: - type: object mapping: $. - method: PUT name: updateissuealertrule description: Sentry Update an issue alert rule call: sentry-alerts-issue-alerts.updateissuealertrule with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deleteissuealertrule description: Sentry Delete an issue alert rule call: sentry-alerts-issue-alerts.deleteissuealertrule outputParameters: - type: object mapping: $. - type: mcp namespace: sentry-alerts-issue-alerts-mcp port: 9090 transport: http description: MCP adapter for Sentry Alerts API — Issue Alerts. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: sentry-list-project-s-issue-alert description: Sentry List a project's issue alert rules hints: readOnly: true destructive: false idempotent: true call: sentry-alerts-issue-alerts.listissuealertrules outputParameters: - type: object mapping: $. - name: sentry-create-issue-alert-rule description: Sentry Create an issue alert rule for a project hints: readOnly: false destructive: false idempotent: false call: sentry-alerts-issue-alerts.createissuealertrule with: body: tools.body outputParameters: - type: object mapping: $. - name: sentry-retrieve-issue-alert-rule description: Sentry Retrieve an issue alert rule for a project hints: readOnly: true destructive: false idempotent: true call: sentry-alerts-issue-alerts.retrieveissuealertrule outputParameters: - type: object mapping: $. - name: sentry-update-issue-alert-rule description: Sentry Update an issue alert rule hints: readOnly: false destructive: false idempotent: true call: sentry-alerts-issue-alerts.updateissuealertrule with: body: tools.body outputParameters: - type: object mapping: $. - name: sentry-delete-issue-alert-rule description: Sentry Delete an issue alert rule hints: readOnly: false destructive: true idempotent: true call: sentry-alerts-issue-alerts.deleteissuealertrule outputParameters: - type: object mapping: $.