naftiko: 1.0.0-alpha2 info: label: Memesio API Contracts — finops description: 'Memesio API Contracts — finops. 1 operations. Lead operation: Run AI Cost/Failure Anomaly Detection and Return Alert State. Self-contained Naftiko capability covering one Memesio business surface.' tags: - Memesio - finops created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: MEMESIO_API_KEY: MEMESIO_API_KEY capability: consumes: - type: http namespace: memesio-finops baseUri: '' description: Memesio API Contracts — finops business capability. Self-contained, no shared references. resources: - name: api-analytics-anomalies-ai path: /api/analytics/anomalies/ai operations: - name: get method: GET description: Run AI Cost/Failure Anomaly Detection and Return Alert State 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-finops-rest port: 8080 description: REST adapter for Memesio API Contracts — finops. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/api/analytics/anomalies/ai name: api-analytics-anomalies-ai description: REST surface for api-analytics-anomalies-ai. operations: - method: GET name: get description: Run AI Cost/Failure Anomaly Detection and Return Alert State call: memesio-finops.get outputParameters: - type: object mapping: $. - type: mcp namespace: memesio-finops-mcp port: 9090 transport: http description: MCP adapter for Memesio API Contracts — finops. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: run-ai-cost-failure-anomaly description: Run AI Cost/Failure Anomaly Detection and Return Alert State hints: readOnly: true destructive: false idempotent: true call: memesio-finops.get outputParameters: - type: object mapping: $.