naftiko: 1.0.0-alpha2 info: label: APIContext Platform API — Reports description: 'APIContext Platform API — Reports. 2 operations. Lead operation: List reports. Self-contained Naftiko capability covering one business surface.' tags: - APIContext - Reports created: '2026-05-20' modified: '2026-05-20' binds: - namespace: env keys: APICONTEXT_API_KEY: APICONTEXT_API_KEY capability: consumes: - type: http namespace: platform-reports baseUri: https://client.apimetrics.io/api/2 description: APIContext Platform API — Reports business capability. Self-contained, no shared references. resources: - name: reports path: /reports/ operations: - name: listreports method: GET description: List reports outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: [] - name: reports-report-id path: /reports/{report_id} operations: - name: getreport method: GET description: Get a report outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: report_id in: path type: string description: path parameter report_id. required: true exposes: - type: rest namespace: platform-reports-rest port: 8080 description: REST adapter for APIContext Platform API — Reports. One resource per consumed operation, prefixed with /v1. resources: - path: /v1/reports/ name: reports description: REST surface for reports. operations: - method: GET name: listreports description: List reports call: platform-reports.listreports with: {} outputParameters: - type: object mapping: $. - path: /v1/reports/{report_id} name: reports-report-id description: REST surface for reports-report-id. operations: - method: GET name: getreport description: Get a report call: platform-reports.getreport with: report_id: rest.report_id outputParameters: - type: object mapping: $. - type: mcp namespace: platform-reports-mcp port: 9090 transport: http description: MCP adapter for APIContext Platform API — Reports. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: apicontext-listreports description: List reports hints: readOnly: true destructive: false idempotent: true call: platform-reports.listreports with: {} outputParameters: - type: object mapping: $. - name: apicontext-getreport description: Get a report hints: readOnly: true destructive: false idempotent: true call: platform-reports.getreport with: report_id: tools.report_id outputParameters: - type: object mapping: $.