{
"type": "object",
"properties": {
"message": {
"type": "string",
"description": "成功或失败原因"
},
"data": {
"type": "object",
"properties": {
"sopFinish": {
"type": "boolean",
"description": "SOP是否完成"
},
"callAnalysis": {
"type": "object",
"properties": {
"recordUrl": {
"type": "string",
"description": "录音地址"
},
"aiLabel": {
"type": "integer",
"description": "意向度"
},
"aiLabelName": {
"type": "string",
"description": "意向度名字"
},
"duration": {
"type": "integer",
"description": "时长"
},
"callee": {
"type": "string",
"description": "主叫"
},
"caller": {
"type": "string",
"description": "被叫"
}
},
"required": [
"recordUrl",
"aiLabel",
"aiLabelName",
"duration"
],
"x-apifox-orders": [
"recordUrl",
"aiLabel",
"aiLabelName",
"duration",
"callee",
"caller"
],
"description": "基本信息"
},
"interruptCustomers": {
"type": "integer",
"description": "打断客户次数"
},
"asrResult": {
"type": "object",
"properties": {
"asrResult": {
"type": "array",
"items": {
"type": "object",
"properties": {
"role": {
"type": "string",
"description": "本句的角色,取值:客服、客户。"
},
"words": {
"type": "string",
"description": "对话内容"
},
"end": {
"type": "integer",
"description": "本句相对于整个对话的结束时间,单位:毫秒。"
},
"begin": {
"type": "integer",
"description": "本句相对于整个对话的开始时间,单位:毫秒。"
}
},
"required": [
"role",
"words",
"end",
"begin"
],
"x-apifox-orders": [
"role",
"words",
"end",
"begin"
]
}
}
},
"required": [
"asrResult"
],
"x-apifox-orders": [
"asrResult"
],
"description": "文件转写结果。"
},
"abuseCustomers": {
"type": "integer",
"description": "辱骂客户次数"
},
"hitResult": {
"type": "object",
"properties": {
"hitResult": {
"type": "array",
"items": {
"type": "object",
"properties": {
"hits": {
"type": "object",
"properties": {
"hit": {
"type": "array",
"items": {
"type": "object",
"properties": {
"keyWords": {
"type": "object",
"properties": {
"keyWord": {
"type": "array",
"items": {
"type": "object",
"properties": {
"val": {
"type": "string",
"description": "命中话题的部分句子"
},
"from": {
"type": "integer",
"description": "关键字的起始位置。"
},
"to": {
"type": "integer",
"description": "关键字的结束位置。"
}
},
"required": [
"val",
"from",
"to"
],
"x-apifox-orders": [
"val",
"from",
"to"
]
}
}
},
"required": [
"keyWord"
],
"x-apifox-orders": [
"keyWord"
],
"description": "命中的关键字"
},
"phrase": {
"type": "object",
"properties": {
"role": {
"type": "string",
"description": "本句的角色,取值:客服、客户。"
},
"words": {
"type": "string",
"description": "对话内容"
},
"end": {
"type": "integer",
"description": "本句相对于整个对话的结束时间,单位:毫秒。"
},
"begin": {
"type": "integer",
"description": "本句相对于整个对话的开始时间,单位:毫秒。"
}
},
"required": [
"role",
"words",
"end",
"begin"
],
"x-apifox-orders": [
"role",
"words",
"end",
"begin"
]
}
},
"x-apifox-orders": [
"keyWords",
"phrase"
]
}
}
},
"required": [
"hit"
],
"x-apifox-orders": [
"hit"
],
"description": "话题命中"
},
"name": {
"type": "string",
"description": "命中的话题名称。"
}
},
"x-apifox-orders": [
"hits",
"name"
]
}
}
},
"required": [
"hitResult"
],
"x-apifox-orders": [
"hitResult"
],
"description": "话题命中结果"
},
"speechSpeed": {
"type": "number",
"description": "语速",
"format": "double"
},
"infoId": {
"type": "string",
"description": "调用时的ID"
},
"callbackInfo": {
"type": "string",
"description": "回调时附加信息"
},
"speechScale": {
"type": "number",
"description": "说话占比",
"format": "double"
},
"notFinishSopName": {
"type": "array",
"items": {
"type": "string"
},
"description": "未完成的SOP名字"
},
"finishSopName": {
"type": "array",
"items": {
"type": "string"
},
"description": "完成的SOP名字"
},
"profile": {
"type": "array",
"items": {
"type": "string",
"description": "客户画像"
},
"description": "客户画像",
"deprecated": true
},
"objection": {
"type": "array",
"items": {
"type": "string",
"description": "客户异议"
},
"description": "客户异议",
"deprecated": true
},
"actionItems": {
"type": "array",
"items": {
"type": "string",
"description": "行动建议"
},
"description": "行动建议",
"deprecated": true
},
"customerPainPoint": {
"type": "array",
"items": {
"type": "string",
"description": "客户痛点",
"deprecated": true
},
"description": "客户痛点",
"deprecated": true
},
"aiAbstract": {
"type": "string",
"description": "摘要",
"deprecated": true
},
"labelScore": {
"type": "number",
"format": "double",
"description": "意向分"
},
"summaryList": {
"type": "array",
"items": {
"type": "object",
"properties": {
"key": {
"type": "string",
"description": "字段key"
},
"name": {
"type": "string",
"description": "字段名称"
},
"value": {
"type": "string",
"description": "字段值"
},
"type": {
"type": "number",
"description": "字段类型 0字符串 1数组",
"format": "long"
},
"sort": {
"type": "integer",
"description": "序号"
}
},
"x-apifox-orders": [
"key",
"name",
"value",
"type",
"sort"
],
"required": [
"key",
"name",
"value",
"type",
"sort"
]
},
"description": "提示词数据集合"
},
"sopDescribe": {
"type": "string",
"description": "sop描述"
},
"speechSpeedDescribe": {
"type": "string",
"description": "语速描述"
},
"abuseCustomersDescribe": {
"type": "string",
"description": "辱骂客户描述"
},
"interruptCustomersDescribe": {
"type": "string",
"description": "打断客户描述"
},
"intentionDegree": {
"type": "string",
"description": "成交意向等级"
},
"intentionAnalysis": {
"type": "string",
"description": "成交意向等级分析"
},
"churnRisk": {
"type": "string",
"description": "流失风险等级"
},
"churnRiskAnalysis": {
"type": "string",
"description": "流失风险等级分析"
},
"speechScaleDescribe": {
"type": "string",
"description": "说话占比描述"
}
},
"required": [
"sopFinish",
"callAnalysis",
"aiAbstract",
"interruptCustomers",
"asrResult",
"abuseCustomers",
"hitResult",
"speechSpeed",
"infoId",
"callbackInfo",
"speechScale",
"notFinishSopName",
"finishSopName",
"profile",
"objection",
"actionItems",
"labelScore",
"summaryList",
"sopDescribe",
"speechScaleDescribe",
"speechSpeedDescribe",
"abuseCustomersDescribe",
"interruptCustomersDescribe",
"intentionDegree",
"intentionAnalysis",
"churnRisk",
"churnRiskAnalysis"
],
"x-apifox-orders": [
"sopFinish",
"callAnalysis",
"aiAbstract",
"profile",
"objection",
"actionItems",
"customerPainPoint",
"interruptCustomers",
"asrResult",
"abuseCustomers",
"hitResult",
"speechSpeed",
"infoId",
"callbackInfo",
"speechScale",
"notFinishSopName",
"finishSopName",
"labelScore",
"summaryList",
"sopDescribe",
"speechScaleDescribe",
"speechSpeedDescribe",
"abuseCustomersDescribe",
"interruptCustomersDescribe",
"intentionDegree",
"intentionAnalysis",
"churnRisk",
"churnRiskAnalysis"
]
},
"status": {
"type": "integer",
"description": "任务状态 1进行中 2成功 3失败(回调时只有 2 和 3)"
},
"taskId": {
"type": "string",
"description": "任务ID"
},
"callbackInfo": {
"type": "string",
"description": "回调时附加信息"
},
"taskType": {
"type": "integer",
"description": "1通话 2线索"
},
"clueData": {
"type": "object",
"properties": {
"infoId": {
"type": "string",
"description": "调用时的ID"
},
"clueId": {
"type": "string",
"description": "线索ID"
},
"userId": {
"type": "string",
"description": "用户ID"
},
"labelScore": {
"type": "number",
"description": "分数",
"format": "double"
},
"aiLabel": {
"type": "string",
"description": "意向度"
},
"profile": {
"type": "array",
"items": {
"type": "string",
"description": "客户画像"
},
"description": "客户画像"
},
"objection": {
"type": "array",
"items": {
"type": "string",
"description": "客户异议"
},
"description": "客户异议"
},
"actionItems": {
"type": "array",
"items": {
"type": "string",
"description": "行动建议"
},
"description": "行动建议"
},
"aiAbstract": {
"type": "string",
"description": "摘要"
},
"summaryList": {
"type": "array",
"items": {
"type": "object",
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
},
"value": {
"type": "string"
},
"type": {
"type": "number",
"format": "long"
},
"sort": {
"type": "integer"
}
},
"x-apifox-orders": [
"key",
"name",
"value",
"type",
"sort"
],
"required": [
"key",
"name",
"value",
"type",
"sort"
]
},
"description": "提示词数据集合"
},
"intentionDegree": {
"type": "string",
"description": "成交意向等级"
},
"intentionAnalysis": {
"type": "string",
"description": " 成交意向等级分析"
},
"churnRisk": {
"type": "string",
"description": "流失风险等级"
},
"churnRiskAnalysis": {
"type": "string",
"description": "流失风险等级分析"
}
},
"x-apifox-orders": [
"infoId",
"clueId",
"userId",
"labelScore",
"aiLabel",
"profile",
"objection",
"actionItems",
"aiAbstract",
"summaryList",
"intentionDegree",
"intentionAnalysis",
"churnRisk",
"churnRiskAnalysis"
],
"description": "线索回调信息",
"required": [
"infoId",
"clueId",
"userId",
"labelScore",
"aiLabel",
"summaryList",
"intentionDegree",
"intentionAnalysis",
"churnRisk",
"churnRiskAnalysis"
]
}
},
"required": [
"status",
"message",
"taskId",
"data",
"taskType",
"clueData"
],
"x-apifox-orders": [
"status",
"message",
"taskId",
"data",
"callbackInfo",
"taskType",
"clueData"
]
}
curl --location --request POST '沟通记录上传中传入的callbackUrl地址' \
--header 'Authorization;' \
--header 'Content-Type: application/json' \
--data-raw '{
"type": "object",
"properties": {
"message": {
"type": "string",
"description": "成功或失败原因"
},
"data": {
"type": "object",
"properties": {
"sopFinish": {
"type": "boolean",
"description": "SOP是否完成"
},
"callAnalysis": {
"type": "object",
"properties": {
"recordUrl": {
"type": "string",
"description": "录音地址"
},
"aiLabel": {
"type": "integer",
"description": "意向度"
},
"aiLabelName": {
"type": "string",
"description": "意向度名字"
},
"duration": {
"type": "integer",
"description": "时长"
},
"callee": {
"type": "string",
"description": "主叫"
},
"caller": {
"type": "string",
"description": "被叫"
}
},
"required": [
"recordUrl",
"aiLabel",
"aiLabelName",
"duration"
],
"x-apifox-orders": [
"recordUrl",
"aiLabel",
"aiLabelName",
"duration",
"callee",
"caller"
],
"description": "基本信息"
},
"interruptCustomers": {
"type": "integer",
"description": "打断客户次数"
},
"asrResult": {
"type": "object",
"properties": {
"asrResult": {
"type": "array",
"items": {
"type": "object",
"properties": {
"role": {
"type": "string",
"description": "本句的角色,取值:客服、客户。"
},
"words": {
"type": "string",
"description": "对话内容"
},
"end": {
"type": "integer",
"description": "本句相对于整个对话的结束时间,单位:毫秒。"
},
"begin": {
"type": "integer",
"description": "本句相对于整个对话的开始时间,单位:毫秒。"
}
},
"required": [
"role",
"words",
"end",
"begin"
],
"x-apifox-orders": [
"role",
"words",
"end",
"begin"
]
}
}
},
"required": [
"asrResult"
],
"x-apifox-orders": [
"asrResult"
],
"description": "文件转写结果。"
},
"abuseCustomers": {
"type": "integer",
"description": "辱骂客户次数"
},
"hitResult": {
"type": "object",
"properties": {
"hitResult": {
"type": "array",
"items": {
"type": "object",
"properties": {
"hits": {
"type": "object",
"properties": {
"hit": {
"type": "array",
"items": {
"type": "object",
"properties": {
"keyWords": {
"type": "object",
"properties": {
"keyWord": {
"type": "array",
"items": {
"type": "object",
"properties": {
"val": {
"type": "string",
"description": "命中话题的部分句子"
},
"from": {
"type": "integer",
"description": "关键字的起始位置。"
},
"to": {
"type": "integer",
"description": "关键字的结束位置。"
}
},
"required": [
"val",
"from",
"to"
],
"x-apifox-orders": [
"val",
"from",
"to"
]
}
}
},
"required": [
"keyWord"
],
"x-apifox-orders": [
"keyWord"
],
"description": "命中的关键字"
},
"phrase": {
"type": "object",
"properties": {
"role": {
"type": "string",
"description": "本句的角色,取值:客服、客户。"
},
"words": {
"type": "string",
"description": "对话内容"
},
"end": {
"type": "integer",
"description": "本句相对于整个对话的结束时间,单位:毫秒。"
},
"begin": {
"type": "integer",
"description": "本句相对于整个对话的开始时间,单位:毫秒。"
}
},
"required": [
"role",
"words",
"end",
"begin"
],
"x-apifox-orders": [
"role",
"words",
"end",
"begin"
]
}
},
"x-apifox-orders": [
"keyWords",
"phrase"
]
}
}
},
"required": [
"hit"
],
"x-apifox-orders": [
"hit"
],
"description": "话题命中"
},
"name": {
"type": "string",
"description": "命中的话题名称。"
}
},
"x-apifox-orders": [
"hits",
"name"
]
}
}
},
"required": [
"hitResult"
],
"x-apifox-orders": [
"hitResult"
],
"description": "话题命中结果"
},
"speechSpeed": {
"type": "number",
"description": "语速",
"format": "double"
},
"infoId": {
"type": "string",
"description": "调用时的ID"
},
"callbackInfo": {
"type": "string",
"description": "回调时附加信息"
},
"speechScale": {
"type": "number",
"description": "说话占比",
"format": "double"
},
"notFinishSopName": {
"type": "array",
"items": {
"type": "string"
},
"description": "未完成的SOP名字"
},
"finishSopName": {
"type": "array",
"items": {
"type": "string"
},
"description": "完成的SOP名字"
},
"profile": {
"type": "array",
"items": {
"type": "string",
"description": "客户画像"
},
"description": "客户画像",
"deprecated": true
},
"objection": {
"type": "array",
"items": {
"type": "string",
"description": "客户异议"
},
"description": "客户异议",
"deprecated": true
},
"actionItems": {
"type": "array",
"items": {
"type": "string",
"description": "行动建议"
},
"description": "行动建议",
"deprecated": true
},
"customerPainPoint": {
"type": "array",
"items": {
"type": "string",
"description": "客户痛点",
"deprecated": true
},
"description": "客户痛点",
"deprecated": true
},
"aiAbstract": {
"type": "string",
"description": "摘要",
"deprecated": true
},
"labelScore": {
"type": "number",
"format": "double",
"description": "意向分"
},
"summaryList": {
"type": "array",
"items": {
"type": "object",
"properties": {
"key": {
"type": "string",
"description": "字段key"
},
"name": {
"type": "string",
"description": "字段名称"
},
"value": {
"type": "string",
"description": "字段值"
},
"type": {
"type": "number",
"description": "字段类型 0字符串 1数组",
"format": "long"
},
"sort": {
"type": "integer",
"description": "序号"
}
},
"x-apifox-orders": [
"key",
"name",
"value",
"type",
"sort"
],
"required": [
"key",
"name",
"value",
"type",
"sort"
]
},
"description": "提示词数据集合"
},
"sopDescribe": {
"type": "string",
"description": "sop描述"
},
"speechSpeedDescribe": {
"type": "string",
"description": "语速描述"
},
"abuseCustomersDescribe": {
"type": "string",
"description": "辱骂客户描述"
},
"interruptCustomersDescribe": {
"type": "string",
"description": "打断客户描述"
},
"intentionDegree": {
"type": "string",
"description": "成交意向等级"
},
"intentionAnalysis": {
"type": "string",
"description": "成交意向等级分析"
},
"churnRisk": {
"type": "string",
"description": "流失风险等级"
},
"churnRiskAnalysis": {
"type": "string",
"description": "流失风险等级分析"
},
"speechScaleDescribe": {
"type": "string",
"description": "说话占比描述"
}
},
"required": [
"sopFinish",
"callAnalysis",
"aiAbstract",
"interruptCustomers",
"asrResult",
"abuseCustomers",
"hitResult",
"speechSpeed",
"infoId",
"callbackInfo",
"speechScale",
"notFinishSopName",
"finishSopName",
"profile",
"objection",
"actionItems",
"labelScore",
"summaryList",
"sopDescribe",
"speechScaleDescribe",
"speechSpeedDescribe",
"abuseCustomersDescribe",
"interruptCustomersDescribe",
"intentionDegree",
"intentionAnalysis",
"churnRisk",
"churnRiskAnalysis"
],
"x-apifox-orders": [
"sopFinish",
"callAnalysis",
"aiAbstract",
"profile",
"objection",
"actionItems",
"customerPainPoint",
"interruptCustomers",
"asrResult",
"abuseCustomers",
"hitResult",
"speechSpeed",
"infoId",
"callbackInfo",
"speechScale",
"notFinishSopName",
"finishSopName",
"labelScore",
"summaryList",
"sopDescribe",
"speechScaleDescribe",
"speechSpeedDescribe",
"abuseCustomersDescribe",
"interruptCustomersDescribe",
"intentionDegree",
"intentionAnalysis",
"churnRisk",
"churnRiskAnalysis"
]
},
"status": {
"type": "integer",
"description": "任务状态 1进行中 2成功 3失败(回调时只有 2 和 3)"
},
"taskId": {
"type": "string",
"description": "任务ID"
},
"callbackInfo": {
"type": "string",
"description": "回调时附加信息"
},
"taskType": {
"type": "integer",
"description": "1通话 2线索"
},
"clueData": {
"type": "object",
"properties": {
"infoId": {
"type": "string",
"description": "调用时的ID"
},
"clueId": {
"type": "string",
"description": "线索ID"
},
"userId": {
"type": "string",
"description": "用户ID"
},
"labelScore": {
"type": "number",
"description": "分数",
"format": "double"
},
"aiLabel": {
"type": "string",
"description": "意向度"
},
"profile": {
"type": "array",
"items": {
"type": "string",
"description": "客户画像"
},
"description": "客户画像"
},
"objection": {
"type": "array",
"items": {
"type": "string",
"description": "客户异议"
},
"description": "客户异议"
},
"actionItems": {
"type": "array",
"items": {
"type": "string",
"description": "行动建议"
},
"description": "行动建议"
},
"aiAbstract": {
"type": "string",
"description": "摘要"
},
"summaryList": {
"type": "array",
"items": {
"type": "object",
"properties": {
"key": {
"type": "string"
},
"name": {
"type": "string"
},
"value": {
"type": "string"
},
"type": {
"type": "number",
"format": "long"
},
"sort": {
"type": "integer"
}
},
"x-apifox-orders": [
"key",
"name",
"value",
"type",
"sort"
],
"required": [
"key",
"name",
"value",
"type",
"sort"
]
},
"description": "提示词数据集合"
},
"intentionDegree": {
"type": "string",
"description": "成交意向等级"
},
"intentionAnalysis": {
"type": "string",
"description": " 成交意向等级分析"
},
"churnRisk": {
"type": "string",
"description": "流失风险等级"
},
"churnRiskAnalysis": {
"type": "string",
"description": "流失风险等级分析"
}
},
"x-apifox-orders": [
"infoId",
"clueId",
"userId",
"labelScore",
"aiLabel",
"profile",
"objection",
"actionItems",
"aiAbstract",
"summaryList",
"intentionDegree",
"intentionAnalysis",
"churnRisk",
"churnRiskAnalysis"
],
"description": "线索回调信息",
"required": [
"infoId",
"clueId",
"userId",
"labelScore",
"aiLabel",
"summaryList",
"intentionDegree",
"intentionAnalysis",
"churnRisk",
"churnRiskAnalysis"
]
}
},
"required": [
"status",
"message",
"taskId",
"data",
"taskType",
"clueData"
],
"x-apifox-orders": [
"status",
"message",
"taskId",
"data",
"callbackInfo",
"taskType",
"clueData"
]
}'
{}