naftiko: 1.0.0-alpha2 info: label: DeepL Translation API — Usage description: 'DeepL Translation API — Usage. 1 operations. Lead operation: Retrieve usage and quota. Self-contained Naftiko capability covering one Deepl business surface.' tags: - Deepl - Usage created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: DEEPL_API_KEY: DEEPL_API_KEY capability: consumes: - type: http namespace: translation-usage baseUri: https://api.deepl.com/v2 description: DeepL Translation API — Usage business capability. Self-contained, no shared references. resources: - name: usage path: /usage operations: - name: getusage method: GET description: Retrieve usage and quota outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: apikey key: Authorization value: '{{env.DEEPL_API_KEY}}' placement: header exposes: - type: rest namespace: translation-usage-rest port: 8080 description: REST adapter for DeepL Translation API — Usage. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/usage name: usage description: REST surface for usage. operations: - method: GET name: getusage description: Retrieve usage and quota call: translation-usage.getusage outputParameters: - type: object mapping: $. - type: mcp namespace: translation-usage-mcp port: 9090 transport: http description: MCP adapter for DeepL Translation API — Usage. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: retrieve-usage-and-quota description: Retrieve usage and quota hints: readOnly: true destructive: false idempotent: true call: translation-usage.getusage outputParameters: - type: object mapping: $.