naftiko: 1.0.0-alpha2 info: label: Together APIs — Deployments description: 'Together APIs — Deployments. 6 operations. Lead operation: Get the list of deployments. Self-contained Naftiko capability covering one Together Ai business surface.' tags: - Together Ai - Deployments 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-deployments baseUri: https://api.together.ai/v1 description: Together APIs — Deployments business capability. Self-contained, no shared references. resources: - name: deployments path: /deployments operations: - name: get method: GET description: Get the list of deployments outputRawFormat: json outputParameters: - name: result type: object value: $. - name: post method: POST description: Create a new deployment outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: deployments-id path: /deployments/{id} operations: - name: delete method: DELETE description: Delete a deployment outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string required: true - name: get method: GET description: Get a deployment by ID or name outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string required: true - name: patch method: PATCH description: Update a deployment outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string required: true - name: body in: body type: object description: Request body (JSON). required: true - name: deployments-id-logs path: /deployments/{id}/logs operations: - name: get method: GET description: Get logs for a deployment outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string required: true - name: replica_id in: query type: string authentication: type: bearer token: '{{env.TOGETHER_AI_API_KEY}}' exposes: - type: rest namespace: together-ai-deployments-rest port: 8080 description: REST adapter for Together APIs — Deployments. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/deployments name: deployments description: REST surface for deployments. operations: - method: GET name: get description: Get the list of deployments call: together-ai-deployments.get outputParameters: - type: object mapping: $. - method: POST name: post description: Create a new deployment call: together-ai-deployments.post with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/deployments/{id} name: deployments-id description: REST surface for deployments-id. operations: - method: DELETE name: delete description: Delete a deployment call: together-ai-deployments.delete with: id: rest.id outputParameters: - type: object mapping: $. - method: GET name: get description: Get a deployment by ID or name call: together-ai-deployments.get with: id: rest.id outputParameters: - type: object mapping: $. - method: PATCH name: patch description: Update a deployment call: together-ai-deployments.patch with: id: rest.id body: rest.body outputParameters: - type: object mapping: $. - path: /v1/deployments/{id}/logs name: deployments-id-logs description: REST surface for deployments-id-logs. operations: - method: GET name: get description: Get logs for a deployment call: together-ai-deployments.get with: id: rest.id replica_id: rest.replica_id outputParameters: - type: object mapping: $. - type: mcp namespace: together-ai-deployments-mcp port: 9090 transport: http description: MCP adapter for Together APIs — Deployments. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: get-list-deployments description: Get the list of deployments hints: readOnly: true destructive: false idempotent: true call: together-ai-deployments.get outputParameters: - type: object mapping: $. - name: create-new-deployment description: Create a new deployment hints: readOnly: false destructive: false idempotent: false call: together-ai-deployments.post with: body: tools.body outputParameters: - type: object mapping: $. - name: delete-deployment description: Delete a deployment hints: readOnly: false destructive: true idempotent: true call: together-ai-deployments.delete with: id: tools.id outputParameters: - type: object mapping: $. - name: get-deployment-id-name description: Get a deployment by ID or name hints: readOnly: true destructive: false idempotent: true call: together-ai-deployments.get with: id: tools.id outputParameters: - type: object mapping: $. - name: update-deployment description: Update a deployment hints: readOnly: false destructive: false idempotent: true call: together-ai-deployments.patch with: id: tools.id body: tools.body outputParameters: - type: object mapping: $. - name: get-logs-deployment description: Get logs for a deployment hints: readOnly: true destructive: false idempotent: true call: together-ai-deployments.get with: id: tools.id replica_id: tools.replica_id outputParameters: - type: object mapping: $.