openapi: 3.0.3 info: title: Azure API Management Gateway AI WorkspacePolicy 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: WorkspacePolicy paths: ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/workspaces/{workspaceId}/policies : get: summary: Microsoft Azure API Management WorkspacePolicy_ListByApi operationId: WorkspacePolicy_ListByApi description: Get the policy configuration at the workspace level. responses: '200': description: Success tags: - WorkspacePolicy ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/workspaces/{workspaceId}/policies/{policyId} : head: summary: Microsoft Azure API Management WorkspacePolicy_GetEntityTag operationId: WorkspacePolicy_GetEntityTag description: Gets the entity state (Etag) version of the workspace policy specified by its identifier. responses: '200': description: Success tags: - WorkspacePolicy get: summary: Microsoft Azure API Management WorkspacePolicy_Get operationId: WorkspacePolicy_Get description: Get the policy configuration at the API level. responses: '200': description: Success tags: - WorkspacePolicy put: summary: Microsoft Azure API Management WorkspacePolicy_CreateOrUpdate operationId: WorkspacePolicy_CreateOrUpdate description: Creates or updates policy configuration for the workspace. responses: '200': description: Success tags: - WorkspacePolicy delete: summary: Microsoft Azure API Management WorkspacePolicy_Delete operationId: WorkspacePolicy_Delete description: Deletes the policy configuration at the workspace. responses: '200': description: Success tags: - WorkspacePolicy externalDocs: description: Documentation url: https://learn.microsoft.com/en-us/azure/api-management/genai-gateway-capabilities x-generated-from: documentation