> ## Documentation Index
> Fetch the complete documentation index at: https://mixroute.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Realtime WebSocket

> 使用 Bearer 金鑰和完整 `model` 查詢參數連線。等待 `session.created`，新增使用者訊息並送出 `response.create`。處理 `error`，在 `response.done` 時完成這一輪。

`WSS /v1/realtime`

使用 Bearer 金鑰和完整 `model` 查詢參數連線。等待 `session.created`，新增使用者訊息並送出 `response.create`。處理 `error`，在 `response.done` 時完成這一輪。

請在 [MixRoute 模型廣場](https://console.mixroute.ai/models) 確認金鑰分組的可用性。列入目錄不代表路由已開放。

## 快速範例

* [gpt-realtime](https://mixroute.ai/docs/zh-Hant/model-api/openai/gpt-realtime.md)
* [gpt-realtime-1.5](https://mixroute.ai/docs/zh-Hant/model-api/openai/gpt-realtime-1.5.md)
* [gpt-realtime-mini](https://mixroute.ai/docs/zh-Hant/model-api/openai/gpt-realtime-mini.md)
* [gpt-realtime-2](https://mixroute.ai/docs/zh-Hant/model-api/openai/gpt-realtime-2.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.