云客服-获取通话的状态及ASR结果:报文样例

时间:2025-02-12 14:54:37

报文样例

  • 场景描述:获取通话的状态及ASR结果接口

    请求头:

    x-app-key:************************************  X-UserID:1611917095665261978  Authorization:Bearer ********************************

    请求参数:

    {"limit": 10,"page": 1,"call_types": [0, 2],"staff_id": null,"upload_from": 1621333149,"upload_to": 1623925149,"status": [2]}

    响应参数:

    {"data": [{"calls": [{"staff_name": "*****","create_time": 1622633782,"left_speed": 241.552,"left_speech_ratio": 0.4613,"file_name": "Consultant","left_channel": "customer","right_speech_ratio": 0.3252,"call_time": 1622633782,"inspect_status": 0,"right_channel": "staff","complain_status": -1,"call_id": "3b9cd7a9-d38c-4aa0-a35d-77f6abb9f497","left_silence_time": 88.46,"duration": 164.22,"upload_time": 1622633782,"right_silence_time": 110.82,"right_speed": 165.169,"staff_id": "1600226440112042215","call_uuid": "3b9cd7a9-d38c-4aa0-a35d-77f6abb9f497","review_status": -1,"call_type": 0,"status": 2}],"call_group_id": "3b9cd7a9-d38c-4aa0-a35d-77f6abb9f497"}, {"calls": [{"staff_name": "*****","create_time": 1622554272,"left_speed": 307.127,"left_speech_ratio": 0.251,"file_name": "myvoice","left_channel": "customer","right_speech_ratio": 0.206,"call_time": 1622554272,"inspect_status": 0,"right_channel": "staff","complain_status": -1,"call_id": "2ef38e9b-36dd-4c1f-97cb-a665a2d9de3a","left_silence_time": 260.03,"duration": 347.16,"upload_time": 1622554272,"right_silence_time": 275.65,"right_speed": 318.837,"staff_id": "1600226440112042215","call_uuid": "2ef38e9b-36dd-4c1f-97cb-a665a2d9de3a","review_status": -1,"call_type": 0,"status": 2}],"call_group_id": "2ef38e9b-36dd-4c1f-97cb-a665a2d9de3a"}, {"calls": [{"staff_name": "*****","create_time": 1622552201,"left_speed": 305.061,"left_speech_ratio": 0.251,"file_name": "myvoice","left_channel": "customer","right_speech_ratio": 0.206,"call_time": 1622552201,"inspect_status": 0,"right_channel": "staff","complain_status": -1,"call_id": "4aca6bb8-13e6-4fd8-ac5b-0402fbb5bef4","left_silence_time": 260.03,"duration": 347.16,"upload_time": 1622552201,"right_silence_time": 275.65,"right_speed": 319.676,"staff_id": "1600226440112042215","call_uuid": "4aca6bb8-13e6-4fd8-ac5b-0402fbb5bef4","review_status": -1,"call_type": 0,"status": 2}],"call_group_id": "4aca6bb8-13e6-4fd8-ac5b-0402fbb5bef4"}, {"calls": [{"staff_name": "*****","create_time": 1622552093,"left_speed": 324.068,"left_speech_ratio": 0.6081,"file_name": "6335","left_channel": "customer","right_speech_ratio": 0.185,"call_time": 1622552093,"inspect_status": 0,"right_channel": "staff","complain_status": -1,"call_id": "4a8507ec-8519-46ab-9ca7-241556a6eb6c","left_silence_time": 40.8,"duration": 104.12,"upload_time": 1622552093,"right_silence_time": 84.86,"right_speed": 230.53,"staff_id": "1600226440112042215","call_uuid": "4a8507ec-8519-46ab-9ca7-241556a6eb6c","review_status": -1,"call_type": 0,"status": 2}],"call_group_id": "4a8507ec-8519-46ab-9ca7-241556a6eb6c"}, {"calls": [{"staff_name": "*****","create_time": 1622528466,"left_speed": 307.127,"left_speech_ratio": 0.251,"file_name": "myvoice","left_channel": "customer","right_speech_ratio": 0.206,"call_time": 1622528466,"inspect_status": 0,"right_channel": "staff","complain_status": -1,"call_id": "ead642de-fa23-4bc0-adf5-f2bac9614b01","left_silence_time": 260.03,"duration": 347.16,"upload_time": 1622528466,"right_silence_time": 275.65,"right_speed": 321.354,"staff_id": "1600226440112042215","call_uuid": "ead642de-fa23-4bc0-adf5-f2bac9614b01","review_status": -1,"call_type": 0,"status": 2}],"call_group_id": "ead642de-fa23-4bc0-adf5-f2bac9614b01"}, {"calls": [{"staff_name": "*****","create_time": 1622513361,"left_speed": 306.439,"left_speech_ratio": 0.251,"file_name": "20208650","left_channel": "customer","right_speech_ratio": 0.206,"call_time": 1622513361,"inspect_status": 0,"right_channel": "staff","complain_status": -1,"call_id": "1e158a1a-2f6d-44f6-ba44-b15d52e21651","left_silence_time": 260.03,"duration": 347.16,"upload_time": 1622513361,"right_silence_time": 275.65,"right_speed": 320.515,"staff_id": "1600226440112042215","call_uuid": "1e158a1a-2f6d-44f6-ba44-b15d52e21651","review_status": -1,"call_type": 0,"status": 2}],"call_group_id": "1e158a1a-2f6d-44f6-ba44-b15d52e21651"}],"paging": {"total": 6}}
support.huaweicloud.com/api-ccfs-cec/cec_07_2724.html