naftiko: 1.0.0-alpha2 info: label: Telnyx API — Telco Data Usage Reports description: 'Telnyx API — Telco Data Usage Reports. 4 operations. Lead operation: List telco data usage reports. Self-contained Naftiko capability covering one Telnyx business surface.' tags: - Telnyx - Telco Data Usage Reports created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: TELNYX_API_KEY: TELNYX_API_KEY capability: consumes: - type: http namespace: telnyx-telco-data-usage-reports baseUri: https://api.telnyx.com/v2 description: Telnyx API — Telco Data Usage Reports business capability. Self-contained, no shared references. resources: - name: legacy-reporting-usage_reports-number_lookup path: /legacy/reporting/usage_reports/number_lookup operations: - name: gettelcodatausagereports method: GET description: List telco data usage reports outputRawFormat: json outputParameters: - name: result type: object value: $. - name: submittelcodatausagereport method: POST description: Submit telco data usage report outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: legacy-reporting-usage_reports-number_lookup-id path: /legacy/reporting/usage_reports/number_lookup/{id} operations: - name: deletetelcodatausagereport method: DELETE description: Delete telco data usage report outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string required: true - name: gettelcodatausagereport method: GET description: Get telco data usage report by ID outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string required: true authentication: type: bearer token: '{{env.TELNYX_API_KEY}}' exposes: - type: rest namespace: telnyx-telco-data-usage-reports-rest port: 8080 description: REST adapter for Telnyx API — Telco Data Usage Reports. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/legacy/reporting/usage-reports/number-lookup name: legacy-reporting-usage-reports-number-lookup description: REST surface for legacy-reporting-usage_reports-number_lookup. operations: - method: GET name: gettelcodatausagereports description: List telco data usage reports call: telnyx-telco-data-usage-reports.gettelcodatausagereports outputParameters: - type: object mapping: $. - method: POST name: submittelcodatausagereport description: Submit telco data usage report call: telnyx-telco-data-usage-reports.submittelcodatausagereport with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/legacy/reporting/usage-reports/number-lookup/{id} name: legacy-reporting-usage-reports-number-lookup-id description: REST surface for legacy-reporting-usage_reports-number_lookup-id. operations: - method: DELETE name: deletetelcodatausagereport description: Delete telco data usage report call: telnyx-telco-data-usage-reports.deletetelcodatausagereport with: id: rest.id outputParameters: - type: object mapping: $. - method: GET name: gettelcodatausagereport description: Get telco data usage report by ID call: telnyx-telco-data-usage-reports.gettelcodatausagereport with: id: rest.id outputParameters: - type: object mapping: $. - type: mcp namespace: telnyx-telco-data-usage-reports-mcp port: 9090 transport: http description: MCP adapter for Telnyx API — Telco Data Usage Reports. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-telco-data-usage-reports description: List telco data usage reports hints: readOnly: true destructive: false idempotent: true call: telnyx-telco-data-usage-reports.gettelcodatausagereports outputParameters: - type: object mapping: $. - name: submit-telco-data-usage-report description: Submit telco data usage report hints: readOnly: false destructive: false idempotent: false call: telnyx-telco-data-usage-reports.submittelcodatausagereport with: body: tools.body outputParameters: - type: object mapping: $. - name: delete-telco-data-usage-report description: Delete telco data usage report hints: readOnly: false destructive: true idempotent: true call: telnyx-telco-data-usage-reports.deletetelcodatausagereport with: id: tools.id outputParameters: - type: object mapping: $. - name: get-telco-data-usage-report description: Get telco data usage report by ID hints: readOnly: true destructive: false idempotent: true call: telnyx-telco-data-usage-reports.gettelcodatausagereport with: id: tools.id outputParameters: - type: object mapping: $.