naftiko: 1.0.0-alpha2 info: label: Telnyx API — Fine Tuning description: 'Telnyx API — Fine Tuning. 4 operations. Lead operation: List fine tuning jobs. Self-contained Naftiko capability covering one Telnyx business surface.' tags: - Telnyx - Fine Tuning created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: TELNYX_API_KEY: TELNYX_API_KEY capability: consumes: - type: http namespace: telnyx-fine-tuning baseUri: https://api.telnyx.com/v2 description: Telnyx API — Fine Tuning business capability. Self-contained, no shared references. resources: - name: ai-fine_tuning-jobs path: /ai/fine_tuning/jobs operations: - name: getfinetuningjobpublicfinetuningget method: GET description: List fine tuning jobs outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createnewfinetuningjobpublicfinetuningpost method: POST description: Create a fine tuning job outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: ai-fine_tuning-jobs-job_id path: /ai/fine_tuning/jobs/{job_id} operations: - name: getfinetuningjobpublicfinetuningjobidget method: GET description: Get a fine tuning job outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: job_id in: path type: string required: true - name: ai-fine_tuning-jobs-job_id-cancel path: /ai/fine_tuning/jobs/{job_id}/cancel operations: - name: cancelnewfinetuningjobpublicfinetuningpost method: POST description: Cancel a fine tuning job outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: job_id in: path type: string required: true authentication: type: bearer token: '{{env.TELNYX_API_KEY}}' exposes: - type: rest namespace: telnyx-fine-tuning-rest port: 8080 description: REST adapter for Telnyx API — Fine Tuning. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/ai/fine-tuning/jobs name: ai-fine-tuning-jobs description: REST surface for ai-fine_tuning-jobs. operations: - method: GET name: getfinetuningjobpublicfinetuningget description: List fine tuning jobs call: telnyx-fine-tuning.getfinetuningjobpublicfinetuningget outputParameters: - type: object mapping: $. - method: POST name: createnewfinetuningjobpublicfinetuningpost description: Create a fine tuning job call: telnyx-fine-tuning.createnewfinetuningjobpublicfinetuningpost with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/ai/fine-tuning/jobs/{job-id} name: ai-fine-tuning-jobs-job-id description: REST surface for ai-fine_tuning-jobs-job_id. operations: - method: GET name: getfinetuningjobpublicfinetuningjobidget description: Get a fine tuning job call: telnyx-fine-tuning.getfinetuningjobpublicfinetuningjobidget with: job_id: rest.job_id outputParameters: - type: object mapping: $. - path: /v1/ai/fine-tuning/jobs/{job-id}/cancel name: ai-fine-tuning-jobs-job-id-cancel description: REST surface for ai-fine_tuning-jobs-job_id-cancel. operations: - method: POST name: cancelnewfinetuningjobpublicfinetuningpost description: Cancel a fine tuning job call: telnyx-fine-tuning.cancelnewfinetuningjobpublicfinetuningpost with: job_id: rest.job_id outputParameters: - type: object mapping: $. - type: mcp namespace: telnyx-fine-tuning-mcp port: 9090 transport: http description: MCP adapter for Telnyx API — Fine Tuning. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-fine-tuning-jobs description: List fine tuning jobs hints: readOnly: true destructive: false idempotent: true call: telnyx-fine-tuning.getfinetuningjobpublicfinetuningget outputParameters: - type: object mapping: $. - name: create-fine-tuning-job description: Create a fine tuning job hints: readOnly: false destructive: false idempotent: false call: telnyx-fine-tuning.createnewfinetuningjobpublicfinetuningpost with: body: tools.body outputParameters: - type: object mapping: $. - name: get-fine-tuning-job description: Get a fine tuning job hints: readOnly: true destructive: false idempotent: true call: telnyx-fine-tuning.getfinetuningjobpublicfinetuningjobidget with: job_id: tools.job_id outputParameters: - type: object mapping: $. - name: cancel-fine-tuning-job description: Cancel a fine tuning job hints: readOnly: false destructive: false idempotent: false call: telnyx-fine-tuning.cancelnewfinetuningjobpublicfinetuningpost with: job_id: tools.job_id outputParameters: - type: object mapping: $.