naftiko: 1.0.0-alpha2 info: label: Exoscale API — deployment description: 'Exoscale API — deployment. 10 operations. Lead operation: Create Deployment. Self-contained Naftiko capability covering one Exoscale business surface.' tags: - Exoscale - deployment created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: EXOSCALE_API_KEY: EXOSCALE_API_KEY capability: consumes: - type: http namespace: exoscale-deployment baseUri: https://api-{zone}.exoscale.com/v2 description: Exoscale API — deployment business capability. Self-contained, no shared references. resources: - name: ai-deployment path: /ai/deployment operations: - name: createdeployment method: POST description: Create Deployment outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: listdeployments method: GET description: List Deployments outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: visibility in: query type: string - name: ai-deployment-id path: /ai/deployment/{id} operations: - name: getdeployment method: GET description: Get Deployment outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string required: true - name: updatedeployment method: PATCH description: Update AI 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: deletedeployment method: DELETE description: Delete Deployment outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string required: true - name: ai-deployment-id-api-key path: /ai/deployment/{id}/api-key operations: - name: revealdeploymentapikey method: GET description: Reveal Deployment API Key outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string required: true - name: ai-deployment-id-logs path: /ai/deployment/{id}/logs operations: - name: getdeploymentlogs method: GET description: Get Deployment Logs outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string required: true - name: stream in: query type: boolean - name: tail in: query type: integer - name: ai-deployment-id-scale path: /ai/deployment/{id}/scale operations: - name: scaledeployment method: POST description: Scale 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: ai-help-inference-engine-parameters path: /ai/help/inference-engine-parameters operations: - name: getinferenceenginehelp method: GET description: Get inference-engine Help outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: version in: query type: string - name: ai-instance-type path: /ai/instance-type operations: - name: listaiinstancetypes method: GET description: List Instance Types outputRawFormat: json outputParameters: - name: result type: object value: $. exposes: - type: rest namespace: exoscale-deployment-rest port: 8080 description: REST adapter for Exoscale API — deployment. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/ai/deployment name: ai-deployment description: REST surface for ai-deployment. operations: - method: POST name: createdeployment description: Create Deployment call: exoscale-deployment.createdeployment with: body: rest.body outputParameters: - type: object mapping: $. - method: GET name: listdeployments description: List Deployments call: exoscale-deployment.listdeployments with: visibility: rest.visibility outputParameters: - type: object mapping: $. - path: /v1/ai/deployment/{id} name: ai-deployment-id description: REST surface for ai-deployment-id. operations: - method: GET name: getdeployment description: Get Deployment call: exoscale-deployment.getdeployment with: id: rest.id outputParameters: - type: object mapping: $. - method: PATCH name: updatedeployment description: Update AI deployment call: exoscale-deployment.updatedeployment with: id: rest.id body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deletedeployment description: Delete Deployment call: exoscale-deployment.deletedeployment with: id: rest.id outputParameters: - type: object mapping: $. - path: /v1/ai/deployment/{id}/api-key name: ai-deployment-id-api-key description: REST surface for ai-deployment-id-api-key. operations: - method: GET name: revealdeploymentapikey description: Reveal Deployment API Key call: exoscale-deployment.revealdeploymentapikey with: id: rest.id outputParameters: - type: object mapping: $. - path: /v1/ai/deployment/{id}/logs name: ai-deployment-id-logs description: REST surface for ai-deployment-id-logs. operations: - method: GET name: getdeploymentlogs description: Get Deployment Logs call: exoscale-deployment.getdeploymentlogs with: id: rest.id stream: rest.stream tail: rest.tail outputParameters: - type: object mapping: $. - path: /v1/ai/deployment/{id}/scale name: ai-deployment-id-scale description: REST surface for ai-deployment-id-scale. operations: - method: POST name: scaledeployment description: Scale Deployment call: exoscale-deployment.scaledeployment with: id: rest.id body: rest.body outputParameters: - type: object mapping: $. - path: /v1/ai/help/inference-engine-parameters name: ai-help-inference-engine-parameters description: REST surface for ai-help-inference-engine-parameters. operations: - method: GET name: getinferenceenginehelp description: Get inference-engine Help call: exoscale-deployment.getinferenceenginehelp with: version: rest.version outputParameters: - type: object mapping: $. - path: /v1/ai/instance-type name: ai-instance-type description: REST surface for ai-instance-type. operations: - method: GET name: listaiinstancetypes description: List Instance Types call: exoscale-deployment.listaiinstancetypes outputParameters: - type: object mapping: $. - type: mcp namespace: exoscale-deployment-mcp port: 9090 transport: http description: MCP adapter for Exoscale API — deployment. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: create-deployment description: Create Deployment hints: readOnly: false destructive: false idempotent: false call: exoscale-deployment.createdeployment with: body: tools.body outputParameters: - type: object mapping: $. - name: list-deployments description: List Deployments hints: readOnly: true destructive: false idempotent: true call: exoscale-deployment.listdeployments with: visibility: tools.visibility outputParameters: - type: object mapping: $. - name: get-deployment description: Get Deployment hints: readOnly: true destructive: false idempotent: true call: exoscale-deployment.getdeployment with: id: tools.id outputParameters: - type: object mapping: $. - name: update-ai-deployment description: Update AI deployment hints: readOnly: false destructive: false idempotent: true call: exoscale-deployment.updatedeployment with: id: tools.id body: tools.body outputParameters: - type: object mapping: $. - name: delete-deployment description: Delete Deployment hints: readOnly: false destructive: true idempotent: true call: exoscale-deployment.deletedeployment with: id: tools.id outputParameters: - type: object mapping: $. - name: reveal-deployment-api-key description: Reveal Deployment API Key hints: readOnly: true destructive: false idempotent: true call: exoscale-deployment.revealdeploymentapikey with: id: tools.id outputParameters: - type: object mapping: $. - name: get-deployment-logs description: Get Deployment Logs hints: readOnly: true destructive: false idempotent: true call: exoscale-deployment.getdeploymentlogs with: id: tools.id stream: tools.stream tail: tools.tail outputParameters: - type: object mapping: $. - name: scale-deployment description: Scale Deployment hints: readOnly: false destructive: false idempotent: false call: exoscale-deployment.scaledeployment with: id: tools.id body: tools.body outputParameters: - type: object mapping: $. - name: get-inference-engine-help description: Get inference-engine Help hints: readOnly: true destructive: false idempotent: true call: exoscale-deployment.getinferenceenginehelp with: version: tools.version outputParameters: - type: object mapping: $. - name: list-instance-types description: List Instance Types hints: readOnly: true destructive: false idempotent: true call: exoscale-deployment.listaiinstancetypes outputParameters: - type: object mapping: $.