openapi: 3.0.3 info: title: Azure API Management Gateway AI Policy API description: The AI gateway capabilities in Azure API Management provide specialized features for managing, securing, and observing AI backend APIs including Azure OpenAI, OpenAI-compatible LLMs, MCP servers, and A2A agent APIs. Includes token rate limiting, semantic caching, load balancing across AI backends, and content safety enforcement. version: '2024-05-01' contact: name: Microsoft Azure url: https://learn.microsoft.com/en-us/azure/api-management/genai-gateway-capabilities servers: - url: https://{service-name}.azure-api.net tags: - name: Policy paths: ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/policies : get: summary: Microsoft Azure API Management Policy_ListByService operationId: Policy_ListByService description: Lists all the Global Policy definitions of the Api Management service. responses: '200': description: Success tags: - Policy ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/policies/{policyId} : head: summary: Microsoft Azure API Management Policy_GetEntityTag operationId: Policy_GetEntityTag description: Gets the entity state (Etag) version of the Global policy definition in the Api Management service. responses: '200': description: Success tags: - Policy get: summary: Microsoft Azure API Management Policy_Get operationId: Policy_Get description: Get the Global policy definition of the Api Management service. responses: '200': description: Success tags: - Policy put: summary: Microsoft Azure API Management Policy_CreateOrUpdate operationId: Policy_CreateOrUpdate description: Creates or updates the global policy configuration of the Api Management service. responses: '200': description: Success tags: - Policy delete: summary: Microsoft Azure API Management Policy_Delete operationId: Policy_Delete description: Deletes the global policy configuration of the Api Management Service. responses: '200': description: Success tags: - Policy externalDocs: description: Documentation url: https://learn.microsoft.com/en-us/azure/api-management/genai-gateway-capabilities x-generated-from: documentation