云客服-查询录音质检结果:报文样例

时间:2024-09-24 14:46:49

报文样例

  • 场景描述:查询录音质检结果

    请求头:

    x-app-key:XXXXXXXXXXX  
    Authorization:Bearer XXXXXXXXXXX

    请求参数:

    {
    	"call_uuid": "822bbf4d-c4f8-473a-9144-199058375be8"
    }

    响应参数:

    [{
    	"create_time": 1635410113,
    	"credit": [{
    		"score": 77,
    		"rules": [{
    			"valid": false,
    			"score": -3,
    			"invalid_segment": [],
    			"revise_id": "dialogRule153309ee-7031-4322-a8d4-3682bd6f09ac",
    			"revise": -1,
    			"setting": {
    				"rule_id": "967510375224315904",
    				"rule_name": "对话规则测试"
    			}
    		}],
    		"setting": {
    			"group_id": "groupid_cbe2442c-471a-4da3-a43b-5ae67960b648",
    			"group_name": "业务场景1",
    			"ignore_sensitive": 0,
    			"description": ""
    		}
    	}, {
    		"silence_rule": [{
    			"valid": true,
    			"score": 0,
    			"invalid_segment": [],
    			"revise_id": "silenceRule09c8ea6a-03a7-4302-a246-1accf1f7257e",
    			"revise": -1,
    			"name": "静默规则1",
    			"setting": {
    				"silence_id": "966506182489411584",
    				"name": "静默规则1"
    			}
    		}],
    		"score": 75,
    		"rules": [{
    			"valid": false,
    			"score": -2,
    			"invalid_segment": [],
    			"revise_id": "dialogRule0a217e0b-fdb1-4819-a6db-b7e4765d6825",
    			"revise": -1,
    			"setting": {
    				"rule_id": "952280134373609472",
    				"rule_name": "对话规则"
    			}
    		}],
    		"speed_rule": [{
    			"valid": false,
    			"score": -3,
    			"invalid_segment": [{
    				"start_time": 26.14,
    				"end_time": 32.67,
    				"call_id": "5"
    			}, {
    				"start_time": 38.58,
    				"end_time": 46.52,
    				"call_id": "7"
    			}, {
    				"start_time": 50.9,
    				"end_time": 62.04,
    				"call_id": "8"
    			}, {
    				"start_time": 69.28,
    				"end_time": 71.9,
    				"call_id": "11"
    			}, {
    				"start_time": 100.42,
    				"end_time": 105.24,
    				"call_id": "16"
    			}, {
    				"start_time": 113.76,
    				"end_time": 114.32,
    				"call_id": "19"
    			}, {
    				"start_time": 115.74,
    				"end_time": 122.0,
    				"call_id": "22"
    			}, {
    				"start_time": 128.52,
    				"end_time": 130.2,
    				"call_id": "24"
    			}, {
    				"start_time": 131.76,
    				"end_time": 132.54,
    				"call_id": "25"
    			}, {
    				"start_time": 133.52,
    				"end_time": 157.72,
    				"call_id": "27"
    			}, {
    				"start_time": 159.52,
    				"end_time": 161.0,
    				"call_id": "29"
    			}],
    			"revise_id": "speedRulec4879869-5a0e-48b8-987f-217f7e08eb32",
    			"revise": -1,
    			"name": "语速规则",
    			"setting": {
    				"name": "语速规则",
    				"speed_id": "966506320519761920"
    			}
    		}],
    		"interposal_rule": [{
    			"valid": true,
    			"score": 0,
    			"invalid_segment": [],
    			"revise_id": "interposalRule488e82e6-7d43-429b-9ce7-4c9043d8f8de",
    			"revise": -1,
    			"name": "抢插话规则",
    			"setting": {
    				"interposal_id": "966506430926426112",
    				"name": "抢插话规则"
    			}
    		}],
    		"setting": {
    			"group_id": "groupid_5cbec488-23d1-4551-a41a-6f81e501dcf7",
    			"group_name": "电话解答",
    			"ignore_sensitive": 0,
    			"description": "电话解答"
    		}
    	}],
    	"sensitive_words": []
    }]
support.huaweicloud.com/api-ccfs-cec/cec_07_2759.html