说明: 查询时间段内的通话记录。
参数 | 说明 | 是否必填 | 类型 |
---|---|---|---|
current |
当前页码,1-N |
是 |
Int |
size |
每页显示数,1-100 |
是 |
Int |
params |
分页参数 |
|
Object |
appId |
应用id |
是 |
string |
startTime |
查询起始时间,时间格式: 2022-09-01 00:00:00 |
是 |
string |
endTime |
查询结束时间,时间格式: 2022-10-01 00:00:00 |
是 |
string |
https://api.onbuka.com/v3/AiVoice/recordQuery
Request URL:
https://api.onbuka.com/v3/AiVoice/recordQuery
Request Method:
POST
Request Headers:
Content-Type: application/json;charset=UTF-8
Sign: 05d7a50893e22a5c4bb3216ae3396c7c
Timestamp: 1630468800
Api-Key: bDqJFiq9
Request Body:
{
"current":1,
"size":1,
"params":{
"appId":"LILIN888",
"startTime":"2022-09-01 00:00:00",
"endTime":"2022-10-01 00:00:00"
}
}
参数 | 说明 | 类型 |
---|---|---|
status |
状态码,0成功,其他失败参见状态码说明 |
String |
reason |
失败原因说明 |
String |
data |
返回数据 |
Object |
total |
总条数 |
Long |
size |
每页显示条数 |
Int |
current |
当前页 |
Int |
pages |
总页数 |
Int |
records |
记录 |
Array |
keyId |
ID |
String |
appId |
应用ID |
String |
callId |
通话唯一ID(内部) |
String |
callRecordId |
通话唯一ID(第三方) |
String |
robotCount |
任务使用的AI并发数 |
Int |
callJobId |
任务ID |
String |
dialogFlowId |
话术ID |
String |
tenantPhoneNumberId |
线路ID |
String |
calledPhoneNumber |
客户手机号 |
String |
hangupBy |
挂断状态 |
String |
resultStatus |
通话结果 |
String |
startTime |
拨打开始时间 |
String |
endTime |
拨打结束时间 |
String |
chatDuration |
通话时长(单位秒) |
String |
chargedDuration |
计费时长(单位秒) |
String |
chatRound |
通话轮次 |
String |
attributes |
用户属性 |
String |
customerConcern |
用户关注点 |
String |
properties |
自定义变量 |
String |
intentLevelDetailName |
意向标签名称 |
String |
fullAudioUrl |
用户和AI合成录音 |
String |
customerAudioUrl |
用户录音 |
String |
dynamicProperties |
通话过程中动态变量 |
String |
redialTimes |
自动重播次数 |
String |
{
"status": "0",
"reason": "success",
"data": {
"records": [
{
"keyId": "63340c952e896c2d1c773b2f",
"appId": "lTWfdrEp",
"callId": "2209281656562000005",
"callRecordId": "219354",
"callJobId": "11142",
"dialogFlowId": "8682",
"tenantPhoneNumberId": "2958",
"customerPersonName": "lii",
"calledPhoneNumber": "86111111111111",
"hangupBy": "INITIAL_HANGUP",
"resultStatus": "ANSWERED",
"startTime": "2022-09-28 16:57:11",
"endTime": "2022-09-28 16:57:50",
"chatDuration": "32",
"chargedDuration": "60",
"chatRound": "4",
"attributes": "[]",
"customerConcern": "[]",
"analysisBasis": "命中节点:与借款人有联系, 该节点设置了意向等级为:F(Applicant touchable)",
"properties": "{与本人关系=21, name=21}",
"intentLevelDetailName": "F(Applicant touchable)",
"fullAudioUrl": "https://obs-ai-call-engine.obs.ap-southeast-3.myhuaweicloud.com:443/DialogueRecording/TenantId2038/CallJobId11142/Yfgx_JId_11142_SId_-1_TId_19991133/ai_user.wav",
"customerAudioUrl": "https://obs-ai-call-engine.obs.ap-southeast-3.myhuaweicloud.com:443/DialogueRecording/TenantId2038/CallJobId11142/Yfgx_JId_11142_SId_-1_TId_19991133/user.wav",
"dynamicProperties": "{与借款人是否有联系=与借款人有联系, 与本人关系=21, phone=18186441005, sex=女士, 与本人关系是否属实=与本人关系不属实, name=446}",
"redialTimes": "0"
}
],
"total": 1,
"size": 20,
"current": 1,
"pages": 1
}
}
意见反馈