AI-102 Study Series Part 7: Azure OpenAI REST API Reference

For the AI-102 exam, understanding the Azure OpenAI REST API reference is crucial. Here are the key areas you should focus on: Control Plane API Resource Management: Learn how to create, update, and delete Azure OpenAI resources using the control plane API 1. Deployment: Understand how to deploy models and manage deployments through Azure Resource Manager, Bicep, Terraform, and Azure CLI 1. Data Plane - Authoring API Fine-Tuning: Familiarize yourself with the API endpoints for fine-tuning models, uploading files, and managing ingestion jobs 1. Batch Operations: Study how to perform batch operations and model-level queries 1. Data Plane - Inference API Completions: Learn how to create completions for provided prompts using the inference API 1. Chat Completions: Understand the endpoints for chat completions, embeddings, and other inference capabilities 1. Authentication: Know the methods for authenticating API calls using API Keys or Microsoft Entra ID 1. REST API Versioning API Versions: Be aware of the versioning structure using the api-version query parameter, which follows the YYYY-MM-DD format 1. Example API Call Here’s an example of making a completion request: ...

June 1, 2025 · 2 min · Taner

AI-102 Study Series Part 8: Azure OpenAI REST API Examples

Here are examples for each of the key areas of the Azure OpenAI REST API that are important for the AI-102 exam: Control Plane API Example: Creating an Azure OpenAI Resource PUT https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/{resource-group}/providers/Microsoft.CognitiveServices/accounts/{account-name}?api-version=2024-10-01 Request Body: { "location": "eastus", "sku": { "name": "S0" }, "kind": "OpenAI", "properties": { "networkAcls": { "defaultAction": "Deny", "virtualNetworkRules": [ { "id": "/subscriptions/{subscription-id}/resourceGroups/{resource-group}/providers/Microsoft.Network/virtualNetworks/{vnet-name}/subnets/{subnet-name}" } ] } } } This example shows how to create an Azure OpenAI resource using the control plane API 1. ...

June 1, 2025 · 2 min · Taner