Skip to content

Commit b35320f

Browse files
committed
different params for versions
1 parent 262381e commit b35320f

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

articles/ai-foundry/openai/how-to/realtime-audio-websockets.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,19 @@ You can construct a full request URI by concatenating:
5959

6060
The following example is a well-constructed `/realtime` request URI:
6161

62+
#### [preview version](#tab/preview)
63+
6264
```http
6365
wss://my-eastus2-openai-resource.openai.azure.com/openai/realtime?api-version=2025-04-01-preview&deployment=gpt-4o-mini-realtime-preview-deployment-name
6466
```
67+
#### [GA version](#tab/ga)
68+
69+
```http
70+
wss://my-eastus2-openai-resource.openai.azure.com/openai/realtime?api-version=2025-08-28&model=gpt-realtime-deployment-name
71+
```
72+
73+
---
74+
6575

6676
To authenticate:
6777
- **Microsoft Entra** (recommended): Use token-based authentication with the `/realtime` API for an Azure OpenAI resource with managed identity enabled. Apply a retrieved authentication token using a `Bearer` token with the `Authorization` header.

0 commit comments

Comments
 (0)