cURL
curl --request POST \ --url https://api.senseaudio.cn/v1/realtime/leave \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: <content-type>' \ --data ' { "room_id": "lO81loRAfmUMFIwY" } '
200
Example
{}
主动结束语音Agent对话会话,释放服务资源。建议在用户结束对话时及时调用此接口。
Documentation IndexFetch the complete documentation index at: https://docs.senseaudio.cn/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://docs.senseaudio.cn/llms.txt
Use this file to discover all available pages before exploring further.
格式:Bearer <API_KEY>
Bearer <API_KEY>
内容类型。固定为 application/json
"application/json"
房间 ID,从「创建对话式 Agent」接口返回值中获取
"lO81loRAfmUMFIwY"
成功响应,返回空 JSON 对象
成功时返回空 JSON 对象