naftiko: 1.0.0-alpha2 info: label: Azure API Management AI Gateway — AI description: 'Azure API Management AI Gateway — AI. 3 operations. Lead operation: Microsoft Azure API Management Chat Completions Via AI Gateway. Self-contained Naftiko capability covering one Microsoft Azure Api Management business surface.' tags: - Microsoft Azure Api Management - AI created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: MICROSOFT_AZURE_API_MANAGEMENT_API_KEY: MICROSOFT_AZURE_API_MANAGEMENT_API_KEY capability: consumes: - type: http namespace: ai-gateway-ai baseUri: https://{service-name}.azure-api.net description: Azure API Management AI Gateway — AI business capability. Self-contained, no shared references. resources: - name: deployments-deployment-id-chat-completions path: /deployments/{deployment-id}/chat/completions operations: - name: aigatewaychatcompletions method: POST description: Microsoft Azure API Management Chat Completions Via AI Gateway outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: deployment-id in: path type: string required: true - name: body in: body type: object description: Request body (JSON). required: true - name: deployments-deployment-id-completions path: /deployments/{deployment-id}/completions operations: - name: aigatewaycompletions method: POST description: Microsoft Azure API Management Completions Via AI Gateway outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: deployment-id in: path type: string required: true - name: body in: body type: object description: Request body (JSON). required: true - name: deployments-deployment-id-embeddings path: /deployments/{deployment-id}/embeddings operations: - name: aigatewayembeddings method: POST description: Microsoft Azure API Management Embeddings Via AI Gateway outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: deployment-id in: path type: string required: true - name: body in: body type: object description: Request body (JSON). required: true exposes: - type: rest namespace: ai-gateway-ai-rest port: 8080 description: REST adapter for Azure API Management AI Gateway — AI. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/deployments/{deployment-id}/chat/completions name: deployments-deployment-id-chat-completions description: REST surface for deployments-deployment-id-chat-completions. operations: - method: POST name: aigatewaychatcompletions description: Microsoft Azure API Management Chat Completions Via AI Gateway call: ai-gateway-ai.aigatewaychatcompletions with: deployment-id: rest.deployment-id body: rest.body outputParameters: - type: object mapping: $. - path: /v1/deployments/{deployment-id}/completions name: deployments-deployment-id-completions description: REST surface for deployments-deployment-id-completions. operations: - method: POST name: aigatewaycompletions description: Microsoft Azure API Management Completions Via AI Gateway call: ai-gateway-ai.aigatewaycompletions with: deployment-id: rest.deployment-id body: rest.body outputParameters: - type: object mapping: $. - path: /v1/deployments/{deployment-id}/embeddings name: deployments-deployment-id-embeddings description: REST surface for deployments-deployment-id-embeddings. operations: - method: POST name: aigatewayembeddings description: Microsoft Azure API Management Embeddings Via AI Gateway call: ai-gateway-ai.aigatewayembeddings with: deployment-id: rest.deployment-id body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: ai-gateway-ai-mcp port: 9090 transport: http description: MCP adapter for Azure API Management AI Gateway — AI. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: microsoft-azure-api-management-chat description: Microsoft Azure API Management Chat Completions Via AI Gateway hints: readOnly: false destructive: false idempotent: false call: ai-gateway-ai.aigatewaychatcompletions with: deployment-id: tools.deployment-id body: tools.body outputParameters: - type: object mapping: $. - name: microsoft-azure-api-management-completions description: Microsoft Azure API Management Completions Via AI Gateway hints: readOnly: false destructive: false idempotent: false call: ai-gateway-ai.aigatewaycompletions with: deployment-id: tools.deployment-id body: tools.body outputParameters: - type: object mapping: $. - name: microsoft-azure-api-management-embeddings description: Microsoft Azure API Management Embeddings Via AI Gateway hints: readOnly: false destructive: false idempotent: false call: ai-gateway-ai.aigatewayembeddings with: deployment-id: tools.deployment-id body: tools.body outputParameters: - type: object mapping: $.