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