naftiko: 1.0.0-alpha2 info: label: Import.io API — Report description: 'Import.io API — Report. 5 operations. Lead operation: List reports. Self-contained Naftiko capability covering one Import Io business surface.' tags: - Import Io - Report created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: IMPORT_IO_API_KEY: IMPORT_IO_API_KEY capability: consumes: - type: http namespace: import-io-report baseUri: https://api.import.io description: Import.io API — Report 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: $. - name: reports-reportId path: /reports/{reportId} operations: - name: getreport method: GET description: Get report outputRawFormat: json outputParameters: - name: result type: object value: $. - name: deletereport method: DELETE description: Delete report outputRawFormat: json outputParameters: - name: result type: object value: $. - name: reports-reportId-reportruns path: /reports/{reportId}/reportruns operations: - name: listreportrunsforreport method: GET description: List report runs for a report outputRawFormat: json outputParameters: - name: result type: object value: $. - name: reports-reportId-start path: /reports/{reportId}/start operations: - name: startreport method: POST description: Start report outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: apikey key: _apikey value: '{{env.IMPORT_IO_API_KEY}}' placement: query exposes: - type: rest namespace: import-io-report-rest port: 8080 description: REST adapter for Import.io API — Report. One Spectral-compliant 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: import-io-report.listreports outputParameters: - type: object mapping: $. - path: /v1/reports/{reportid} name: reports-reportid description: REST surface for reports-reportId. operations: - method: GET name: getreport description: Get report call: import-io-report.getreport outputParameters: - type: object mapping: $. - method: DELETE name: deletereport description: Delete report call: import-io-report.deletereport outputParameters: - type: object mapping: $. - path: /v1/reports/{reportid}/reportruns name: reports-reportid-reportruns description: REST surface for reports-reportId-reportruns. operations: - method: GET name: listreportrunsforreport description: List report runs for a report call: import-io-report.listreportrunsforreport outputParameters: - type: object mapping: $. - path: /v1/reports/{reportid}/start name: reports-reportid-start description: REST surface for reports-reportId-start. operations: - method: POST name: startreport description: Start report call: import-io-report.startreport outputParameters: - type: object mapping: $. - type: mcp namespace: import-io-report-mcp port: 9090 transport: http description: MCP adapter for Import.io API — Report. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-reports description: List reports hints: readOnly: true destructive: false idempotent: true call: import-io-report.listreports outputParameters: - type: object mapping: $. - name: get-report description: Get report hints: readOnly: true destructive: false idempotent: true call: import-io-report.getreport outputParameters: - type: object mapping: $. - name: delete-report description: Delete report hints: readOnly: false destructive: true idempotent: true call: import-io-report.deletereport outputParameters: - type: object mapping: $. - name: list-report-runs-report description: List report runs for a report hints: readOnly: true destructive: false idempotent: true call: import-io-report.listreportrunsforreport outputParameters: - type: object mapping: $. - name: start-report description: Start report hints: readOnly: false destructive: false idempotent: false call: import-io-report.startreport outputParameters: - type: object mapping: $.