naftiko: 1.0.0-alpha2 info: label: Amnic Cloud Cost Observability API — Cost Analyzer description: 'Amnic Cloud Cost Observability API — Cost Analyzer. 2 operations. Lead operation: Amnic Get Chart Data. Self-contained Naftiko capability covering one Amnic business surface.' tags: - Amnic - Cost Analyzer created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: AMNIC_API_KEY: AMNIC_API_KEY capability: consumes: - type: http namespace: amnic-cost-analyzer baseUri: https://api.amnic.com/orchestrator description: Amnic Cloud Cost Observability API — Cost Analyzer business capability. Self-contained, no shared references. resources: - name: v1-external-view-uuid path: /v1/external/view/{uuid} operations: - name: getchartdata method: POST description: Amnic Get Chart Data outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: uuid in: path type: string description: The unique identifier of the saved chart in the Cost Analyzer. required: true - name: body in: body type: object description: Request body (JSON). required: true - name: v1-external-view-uuid-filters path: /v1/external/view/{uuid}/filters operations: - name: getchartfilters method: GET description: Amnic Get Chart Filters outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: uuid in: path type: string description: The unique identifier of the saved chart in the Cost Analyzer. required: true authentication: type: apikey key: X-API-Key value: '{{env.AMNIC_API_KEY}}' placement: header exposes: - type: rest namespace: amnic-cost-analyzer-rest port: 8080 description: REST adapter for Amnic Cloud Cost Observability API — Cost Analyzer. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v1/external/view/{uuid} name: v1-external-view-uuid description: REST surface for v1-external-view-uuid. operations: - method: POST name: getchartdata description: Amnic Get Chart Data call: amnic-cost-analyzer.getchartdata with: uuid: rest.uuid body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v1/external/view/{uuid}/filters name: v1-external-view-uuid-filters description: REST surface for v1-external-view-uuid-filters. operations: - method: GET name: getchartfilters description: Amnic Get Chart Filters call: amnic-cost-analyzer.getchartfilters with: uuid: rest.uuid outputParameters: - type: object mapping: $. - type: mcp namespace: amnic-cost-analyzer-mcp port: 9090 transport: http description: MCP adapter for Amnic Cloud Cost Observability API — Cost Analyzer. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: amnic-get-chart-data description: Amnic Get Chart Data hints: readOnly: true destructive: false idempotent: false call: amnic-cost-analyzer.getchartdata with: uuid: tools.uuid body: tools.body outputParameters: - type: object mapping: $. - name: amnic-get-chart-filters description: Amnic Get Chart Filters hints: readOnly: true destructive: false idempotent: true call: amnic-cost-analyzer.getchartfilters with: uuid: tools.uuid outputParameters: - type: object mapping: $.