Realtime¶
This section lists the implemented endpoints under this capability.
Realtime WebSocket connection¶
GET /v1/realtime
Establish a WebSocket connection for realtime conversations.
Note: This is a WebSocket endpoint and must be called over the WebSocket protocol.
Example connection URL: wss://api.example.com/v1/realtime?model=gpt-4o-realtime
Authentication¶
- Bearer Token (
Authorization: Bearer <token>)
Parameters¶
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| model | query | string | no | Model to use |
Responses¶
| Status | Description | Schema |
|---|---|---|
| 101 | WebSocket protocol upgrade | - |
| 400 | Bad request | ErrorResponse |