naftiko: 1.0.0-alpha2 info: label: Together APIs — GPUClusterService description: 'Together APIs — GPUClusterService. 5 operations. Lead operation: List all GPU clusters.. Self-contained Naftiko capability covering one Together Ai business surface.' tags: - Together Ai - GPUClusterService created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: TOGETHER_AI_API_KEY: TOGETHER_AI_API_KEY capability: consumes: - type: http namespace: together-ai-gpuclusterservice baseUri: https://api.together.ai/v1 description: Together APIs — GPUClusterService business capability. Self-contained, no shared references. resources: - name: compute-clusters path: /compute/clusters operations: - name: gpuclusterservicelist method: GET description: List all GPU clusters. outputRawFormat: json outputParameters: - name: result type: object value: $. - name: gpuclusterservicecreate method: POST description: Create GPU Cluster outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: compute-clusters-cluster_id path: /compute/clusters/{cluster_id} operations: - name: gpuclusterserviceget method: GET description: Get GPU cluster by cluster ID outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: cluster_id in: path type: string required: true - name: gpuclusterserviceupdate method: PUT description: Update a GPU Cluster. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: cluster_id in: path type: string required: true - name: body in: body type: object description: Request body (JSON). required: true - name: gpuclusterservicedelete method: DELETE description: Delete GPU cluster by cluster ID outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: cluster_id in: path type: string required: true authentication: type: bearer token: '{{env.TOGETHER_AI_API_KEY}}' exposes: - type: rest namespace: together-ai-gpuclusterservice-rest port: 8080 description: REST adapter for Together APIs — GPUClusterService. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/compute/clusters name: compute-clusters description: REST surface for compute-clusters. operations: - method: GET name: gpuclusterservicelist description: List all GPU clusters. call: together-ai-gpuclusterservice.gpuclusterservicelist outputParameters: - type: object mapping: $. - method: POST name: gpuclusterservicecreate description: Create GPU Cluster call: together-ai-gpuclusterservice.gpuclusterservicecreate with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/compute/clusters/{cluster-id} name: compute-clusters-cluster-id description: REST surface for compute-clusters-cluster_id. operations: - method: GET name: gpuclusterserviceget description: Get GPU cluster by cluster ID call: together-ai-gpuclusterservice.gpuclusterserviceget with: cluster_id: rest.cluster_id outputParameters: - type: object mapping: $. - method: PUT name: gpuclusterserviceupdate description: Update a GPU Cluster. call: together-ai-gpuclusterservice.gpuclusterserviceupdate with: cluster_id: rest.cluster_id body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: gpuclusterservicedelete description: Delete GPU cluster by cluster ID call: together-ai-gpuclusterservice.gpuclusterservicedelete with: cluster_id: rest.cluster_id outputParameters: - type: object mapping: $. - type: mcp namespace: together-ai-gpuclusterservice-mcp port: 9090 transport: http description: MCP adapter for Together APIs — GPUClusterService. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-all-gpu-clusters description: List all GPU clusters. hints: readOnly: true destructive: false idempotent: true call: together-ai-gpuclusterservice.gpuclusterservicelist outputParameters: - type: object mapping: $. - name: create-gpu-cluster description: Create GPU Cluster hints: readOnly: false destructive: false idempotent: false call: together-ai-gpuclusterservice.gpuclusterservicecreate with: body: tools.body outputParameters: - type: object mapping: $. - name: get-gpu-cluster-cluster-id description: Get GPU cluster by cluster ID hints: readOnly: true destructive: false idempotent: true call: together-ai-gpuclusterservice.gpuclusterserviceget with: cluster_id: tools.cluster_id outputParameters: - type: object mapping: $. - name: update-gpu-cluster description: Update a GPU Cluster. hints: readOnly: false destructive: false idempotent: true call: together-ai-gpuclusterservice.gpuclusterserviceupdate with: cluster_id: tools.cluster_id body: tools.body outputParameters: - type: object mapping: $. - name: delete-gpu-cluster-cluster-id description: Delete GPU cluster by cluster ID hints: readOnly: false destructive: true idempotent: true call: together-ai-gpuclusterservice.gpuclusterservicedelete with: cluster_id: tools.cluster_id outputParameters: - type: object mapping: $.