🌐
Microsoft Learn
learn.microsoft.com › en-us › azure › foundry › openai › reference
Azure OpenAI in Microsoft Foundry Models REST API reference - Microsoft Foundry | Microsoft Learn
February 27, 2026 - Learn how to use Azure OpenAI's REST API. In this article, you learn about authorization options, how to structure a request and receive a response.
🌐
Microsoft Learn
learn.microsoft.com › en-us › azure › api-management › azure-openai-api-from-specification
Import an Azure OpenAI API as a REST API - Azure API Management | Microsoft Learn
December 23, 2025 - You can import AI model endpoints deployed in Azure OpenAI in Foundry Models to your API Management instance as a REST API.
🌐
Microsoft Learn
learn.microsoft.com › en-us › azure › foundry › openai › how-to › responses
Use the Azure OpenAI Responses API - Microsoft Foundry | Microsoft Learn
March 17, 2026 - from openai import OpenAI from azure.identity import DefaultAzureCredential, get_bearer_token_provider token_provider = get_bearer_token_provider( DefaultAzureCredential(), "https://ai.azure.com/.default" ) client = OpenAI( base_url = "https://YOUR-RESOURCE-NAME.openai.azure.com/openai/v1/", api_key=token_provider, ) response = client.responses.create( model="gpt-4.1-nano", input= "This is a test" ) print(response.model_dump_json(indent=2)) The REST examples use AZURE_OPENAI_AUTH_TOKEN for Microsoft Entra ID authentication.
🌐
Microsoft Learn
learn.microsoft.com › en-us › azure › foundry › openai › reference-preview-latest
Azure OpenAI in Microsoft Foundry Models REST API v1 preview reference - Microsoft Foundry | Microsoft Learn
February 27, 2026 - Learn how to use Azure OpenAI's latest v1 preview REST API. In this article, you learn about authorization options, how to structure a request and receive a response.
🌐
Microsoft Learn
learn.microsoft.com › en-us › azure › ai-services › openai › reference
Azure OpenAI in Microsoft Foundry Models REST API reference - Azure OpenAI | Microsoft Learn
Learn how to use Azure OpenAI's REST API. In this article, you learn about authorization options, how to structure a request and receive a response.
🌐
Microsoft Learn
learn.microsoft.com › en-us › azure › foundry › openai › reference-preview
Azure OpenAI in Microsoft Foundry Models REST API preview reference - Microsoft Foundry | Microsoft Learn
February 27, 2026 - Learn how to use Azure OpenAI's latest preview REST API. In this article, you learn about authorization options, how to structure a request and receive a response.
🌐
Microsoft Learn
learn.microsoft.com › en-us › azure › ai-services › openai › reference-preview
Azure OpenAI in Azure AI Foundry Models REST API preview reference - Azure OpenAI | Microsoft Learn
March 25, 2025 - Learn how to use Azure OpenAI's latest preview REST API. In this article, you learn about authorization options, how to structure a request and receive a response.
Find elsewhere
🌐
Microsoft Learn
learn.microsoft.com › en-us › azure › ai-services › openai › references › on-your-data
Azure OpenAI On Your Data Python & REST API reference - Azure OpenAI | Microsoft Learn
February 27, 2025 - Once the GPT‑4.1 models retire, all Azure OpenAI On Your Data API endpoints and supported data source connectors stop functioning. We recommend that you migrate Azure OpenAI On Your Data workloads to Foundry Agent Service with Foundry IQ to retrieve content and generate grounded answers from your data. To get started, see Connect a Foundry IQ knowledge base. This article provides reference documentation for Python and REST for the new Azure OpenAI On Your Data API.
🌐
Microsoft Learn
learn.microsoft.com › en-us › azure › foundry › openai › authoring-reference-preview
Azure OpenAI in Microsoft Foundry Models REST API authoring preview reference - Microsoft Foundry | Microsoft Learn
February 27, 2026 - Learn how to use Azure OpenAI's latest authoring preview REST API. In this article, you learn about authorization options, how to structure a request and receive a response.
🌐
Microsoft Learn
learn.microsoft.com › en-us › azure › foundry › openai › api-version-lifecycle
Azure OpenAI in Microsoft Foundry Models v1 API - Microsoft Foundry | Microsoft Learn
March 9, 2026 - Responses API also works with Foundry Models sold directly by Azure, such as Microsoft AI, DeepSeek, and Grok models. To learn how to use the Responses API with these models, see How to generate text responses with Microsoft Foundry Models. ... from openai import OpenAI from azure.identity import DefaultAzureCredential, get_bearer_token_provider token_provider = get_bearer_token_provider( DefaultAzureCredential(), "https://ai.azure.com/.default" ) client = OpenAI( base_url = "https://YOUR-RESOURCE-NAME.openai.azure.com/openai/v1/", api_key=token_provider, ) completion = client.chat.completions.create( model="MAI-DS-R1", # Replace with your model deployment name.
🌐
Microsoft Learn
learn.microsoft.com › en-us › azure › ai-foundry › openai › references › on-your-data
Azure OpenAI On Your Data Python & REST API reference (classic) - Microsoft Foundry (classic) portal | Microsoft Learn
September 30, 2025 - Once the GPT‑4.1 models retire, all Azure OpenAI On Your Data API endpoints and supported data source connectors stop functioning. We recommend that you migrate Azure OpenAI On Your Data workloads to Foundry Agent Service with Foundry IQ to retrieve content and generate grounded answers from your data. To get started, see Connect a Foundry IQ knowledge base. This article provides reference documentation for Python and REST for the new Azure OpenAI On Your Data API.
🌐
Microsoft Learn
learn.microsoft.com › en-us › azure › foundry-classic › openai › how-to › create-resource
How-to: Create and deploy an Azure OpenAI in Microsoft Foundry Models resource (classic) - Microsoft Foundry (classic) portal | Microsoft Learn
February 27, 2026 - After you create the resource, you can use different commands to find useful information about your Azure OpenAI in Microsoft Foundry Models instance. The following examples demonstrate how to retrieve the REST API endpoint base URL and the access keys for the new resource.
🌐
Microsoft Learn
learn.microsoft.com › en-us › rest › api › azureopenai › models › get
Models - Get - REST API (Azure Azure AI Services) | Microsoft Learn
October 21, 2024 - GET https://aoairesource.openai.azure.com/openai/models/curie.ft-72a2792ef7d24ba7b82c7fe4a37e379f?api-version=2024-10-21