检索批量分析
开发环境
开发环境
GET
/v1/batches/{batch_id}/analysis
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://dev-cn.your-api-server.com/v1/batches//analysis' \
--header 'authorization: <authorization>'
响应示例响应示例
{
"status": "success",
"message": "Successfully fetched analyses",
"analysis": [
{
"call_id": "b12956d1-624d-4c65-a1a4-30eb86553c85",
"batch_id": "dnytTRqwiqnR3qmq-gen-batch",
"goal": "Congratulate some employees",
"answers": [
"human",
"Customer found the product sturdy and reliable",
"A bit heavy",
true
],
"questions": [
[
"Who answered the call?",
"human or voicemail"
],
[
"Positive feedback about the product: ",
"string"
],
[
"Negative feedback about the product: ",
"string"
],
[
"Customer confirmed they were satisfied",
"boolean"
]
]
}
]
}
请求参数
Path 参数
batch_id
string
必需
Header 参数
authorization
string
必需
示例值:
<authorization>
返回响应
修改于 2024-05-10 09:15:25