使用 AI 分析通话
开发环境
开发环境
POST
/v1/calls/{call_id}/analyze
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://dev-cn.your-api-server.com/v1/calls//analyze' \
--header 'authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data-raw '{
"goal": "<string>",
"questions": [
[
"<string>"
]
]
}'
响应示例响应示例
{
"status": "success",
"message": "Successfully analyzed call",
"answers": [
"human",
"Customer found the product sturdy and reliable",
"A bit heavy",
true
]
}
请求参数
Path 参数
call_id
string
必需
Header 参数
Content-Type
string
必需
示例值:
application/json
authorization
string
必需
示例值:
<authorization>
Body 参数application/json
返回响应
修改于 2024-05-10 06:55:45