Generated by API Evangelist
Written by API Evangelist tooling for Microsoft Azure API Management's API. It is a proposal applied on top of the contract, not a document Microsoft Azure API Management publishes.
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
title: API Evangelist conversational phrasing for Azure API Management Gateway AI API
version: 1.0.0
extends: openapi/_superseded/microsoft-azure-api-management-ai-api-openapi.yml
actions:
- target: $.info
update:
x-apievangelist-phrasing:
method: generated
generated: '2026-09-26'
generator: build-phrasing.py
label: Generated by API Evangelist
operations: 3
- target: $.paths['/deployments/{deployment-id}/chat/completions'].post
update:
x-apievangelist-phrasing:
intent: Send a chat completion through the AI gateway
effect: write
questions:
- How do I send chat messages to an Azure OpenAI deployment through API Management's AI gateway?
- Can I cap max tokens and set temperature on a chat request routed through the gateway?
- Does the AI gateway apply token rate limiting and semantic caching to chat calls?
instructions:
- text: Send {messages} as a chat completion to deployment {deployment}.
slots:
messages: requestBody.messages
deployment: path.deployment-id
- text: Get a chat reply from deployment {deployment} limited to {max_tokens} tokens at temperature {temperature}.
slots:
deployment: path.deployment-id
max_tokens: requestBody.max_tokens
temperature: requestBody.temperature
method: generated
generated: '2026-09-26'
- target: $.paths['/deployments/{deployment-id}/completions'].post
update:
x-apievangelist-phrasing:
intent: Complete a text prompt through the AI gateway
effect: write
questions:
- Can I send a plain text prompt, not chat messages, to an AI backend via the gateway?
- What controls do I have over length and randomness on a legacy prompt completion?
instructions:
- text: Complete the prompt {prompt} using deployment {deployment}.
slots:
prompt: requestBody.prompt
deployment: path.deployment-id
- text: Run text completion on deployment {deployment} with at most {max_tokens} tokens and temperature {temperature}.
slots:
deployment: path.deployment-id
max_tokens: requestBody.max_tokens
temperature: requestBody.temperature
method: generated
generated: '2026-09-26'
- target: $.paths['/deployments/{deployment-id}/embeddings'].post
update:
x-apievangelist-phrasing:
intent: Create embeddings through the AI gateway
effect: write
questions:
- How do I generate vector embeddings for text through the API Management gateway?
- Can I choose which embedding model a gateway deployment uses?
instructions:
- text: Create embeddings for {input} on deployment {deployment}.
slots:
input: requestBody.input
deployment: path.deployment-id
- text: Embed {input} with model {model} through deployment {deployment}.
slots:
input: requestBody.input
model: requestBody.model
deployment: path.deployment-id
method: generated
generated: '2026-09-26'
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.