naftiko: 1.0.0-alpha2 info: label: n8n Public API — Insights description: 'n8n Public API — Insights. 1 operations. Lead operation: Get insights summary. Self-contained Naftiko capability covering one N8n business surface.' tags: - N8n - Insights created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: N8N_API_KEY: N8N_API_KEY capability: consumes: - type: http namespace: n8n-insights baseUri: https://app.n8n.cloud/api/v1 description: n8n Public API — Insights business capability. Self-contained, no shared references. resources: - name: insights-summary path: /insights/summary operations: - name: getinsightssummary method: GET description: Get insights summary outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.N8N_API_KEY}}' exposes: - type: rest namespace: n8n-insights-rest port: 8080 description: REST adapter for n8n Public API — Insights. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/insights/summary name: insights-summary description: REST surface for insights-summary. operations: - method: GET name: getinsightssummary description: Get insights summary call: n8n-insights.getinsightssummary outputParameters: - type: object mapping: $. - type: mcp namespace: n8n-insights-mcp port: 9090 transport: http description: MCP adapter for n8n Public API — Insights. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: get-insights-summary description: Get insights summary hints: readOnly: true destructive: false idempotent: true call: n8n-insights.getinsightssummary outputParameters: - type: object mapping: $.