naftiko: 1.0.0-alpha2 info: label: Memesio API Contracts — backend description: 'Memesio API Contracts — backend. 2 operations. Lead operation: Evaluate Alert Trigger Thresholds and Cooldown Decisions. Self-contained Naftiko capability covering one Memesio business surface.' tags: - Memesio - backend created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: MEMESIO_API_KEY: MEMESIO_API_KEY capability: consumes: - type: http namespace: memesio-backend baseUri: '' description: Memesio API Contracts — backend business capability. Self-contained, no shared references. resources: - name: api-alerts-triggers path: /api/alerts/triggers operations: - name: get method: GET description: Evaluate Alert Trigger Thresholds and Cooldown Decisions outputRawFormat: json outputParameters: - name: result type: object value: $. - name: post method: POST description: Run Trigger Execution, Persist Cooldown State, and Fan Out Delivery Across Inbox/Push/Email Channels with SLA Telemetry outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: apikey key: x-developer-api-key value: '{{env.MEMESIO_API_KEY}}' placement: header exposes: - type: rest namespace: memesio-backend-rest port: 8080 description: REST adapter for Memesio API Contracts — backend. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/api/alerts/triggers name: api-alerts-triggers description: REST surface for api-alerts-triggers. operations: - method: GET name: get description: Evaluate Alert Trigger Thresholds and Cooldown Decisions call: memesio-backend.get outputParameters: - type: object mapping: $. - method: POST name: post description: Run Trigger Execution, Persist Cooldown State, and Fan Out Delivery Across Inbox/Push/Email Channels with SLA Telemetry call: memesio-backend.post outputParameters: - type: object mapping: $. - type: mcp namespace: memesio-backend-mcp port: 9090 transport: http description: MCP adapter for Memesio API Contracts — backend. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: evaluate-alert-trigger-thresholds-and description: Evaluate Alert Trigger Thresholds and Cooldown Decisions hints: readOnly: true destructive: false idempotent: true call: memesio-backend.get outputParameters: - type: object mapping: $. - name: run-trigger-execution-persist-cooldown description: Run Trigger Execution, Persist Cooldown State, and Fan Out Delivery Across Inbox/Push/Email Channels with SLA Telemetry hints: readOnly: false destructive: false idempotent: false call: memesio-backend.post outputParameters: - type: object mapping: $.