naftiko: 1.0.0-alpha2 info: label: Transactional Email API — Project Consumption description: 'Transactional Email API — Project Consumption. 1 operations. Lead operation: Get project resource consumption.. Self-contained Naftiko capability covering one Scaleway business surface.' tags: - Scaleway - Project Consumption created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: SCALEWAY_API_KEY: SCALEWAY_API_KEY capability: consumes: - type: http namespace: transactional-email-project-consumption baseUri: https://api.scaleway.com description: Transactional Email API — Project Consumption business capability. Self-contained, no shared references. resources: - name: transactional-email-v1alpha1-regions-region-project-consumption path: /transactional-email/v1alpha1/regions/{region}/project-consumption operations: - name: getprojectconsumption method: GET description: Get project resource consumption. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: region in: path type: string description: The region you want to target required: true - name: project_id in: query type: string description: ID of the project. (UUID format) required: true authentication: type: apikey key: X-Auth-Token value: '{{env.SCALEWAY_API_KEY}}' placement: header exposes: - type: rest namespace: transactional-email-project-consumption-rest port: 8080 description: REST adapter for Transactional Email API — Project Consumption. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/transactional-email/v1alpha1/regions/{region}/project-consumption name: transactional-email-v1alpha1-regions-region-project-consumption description: REST surface for transactional-email-v1alpha1-regions-region-project-consumption. operations: - method: GET name: getprojectconsumption description: Get project resource consumption. call: transactional-email-project-consumption.getprojectconsumption with: region: rest.region project_id: rest.project_id outputParameters: - type: object mapping: $. - type: mcp namespace: transactional-email-project-consumption-mcp port: 9090 transport: http description: MCP adapter for Transactional Email API — Project Consumption. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: get-project-resource-consumption description: Get project resource consumption. hints: readOnly: true destructive: false idempotent: true call: transactional-email-project-consumption.getprojectconsumption with: region: tools.region project_id: tools.project_id outputParameters: - type: object mapping: $.