Bland.Ai
  1. 通话
Bland.Ai
  • 入门指南
  • 基本
    • 发送呼叫(简单)
      POST
    • 使用 Pathways 发送呼叫(简单)
      POST
  • 通话
    • 发送呼叫
      POST
    • 使用 AI 分析通话
      POST
    • 停止当前通话
      POST
    • 列出通话
      GET
    • 通话详情
      GET
    • 声音录制
      GET
    • 获取更正的成绩单
      GET
  • 网络代理
    • 创建网络代理
      POST
    • 更新网络代理设置
      POST
    • 授权网络代理呼叫
      POST
    • 删除网络代理
      POST
    • 列出网络代理
      GET
  • 对话途径
    • 获取单一途径信息
      GET
    • 创建途径
      POST
    • 更新途径
      POST
    • 删除途径
      DELETE
  • 呼入号码
    • 购买呼入号码
      POST
    • 更新入站详细信息
      POST
    • 列出呼入号码
      GET
    • 呼入号码详情
      GET
  • 呼出号码
    • 购买呼出号码
      POST
    • 列出呼出号码
      GET
  • 声音
    • 列出声音
    • 语音详情
    • 生成音频样本
  • 定制工具
    • 创建自定义工具
    • 更新自定义工具
    • 列出自定义工具
    • 自定义工具详细信息
  • 自定义 Twilio 帐户
    • 创建加密密钥
    • 删除加密密钥
    • 上传呼入电话号码
    • 删除呼入电话号码
  • 子账号
    • 创建子账户
    • 将积分转移到子账户
    • 轮换子账户 API 密钥
    • 禁用子账户
    • 列出子账户
    • 列出子账户详细信息
  • 批次
    • 发送一批呼叫
    • 使用 AI 分析批次
    • 停止活动批次
    • 列出批次
    • 批次详情
    • 检索批量分析
  • 短信
    • A2P 注册
    • 检查短信 A2P 状态
    • 更新短信提示
    • 短信对话分析
    • 获取短信
    • 切换短信回复方式
    • 更新短信 Webhook
  • 账户
    • 帐户详细资料
  1. 通话

通话详情

开发环境
http://dev-cn.your-api-server.com
开发环境
http://dev-cn.your-api-server.com
GET
/v1/calls/{call_id}
检索通话的详细信息、元数据和文字记录。
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://dev-cn.your-api-server.com/v1/calls/' \
--header 'authorization: <authorization>'
响应示例响应示例
成功示例
{
  "call_id": "d9cce3f3-23cf-4fa7-b62c-8be8119b8715",
  "call_length": 0.75,
  "batch_id": null,
  "to": "+12223334444",
  "from": "+17163511654",
  "request_data": {
    "phone_number": "+12223334444",
    "wait": true,
    "language": "ENG"
  },
  "completed": true,
  "created_at": "2024-04-27T23:51:18.025251+00:00",
  "inbound": false,
  "queue_status": "completed",
  "endpoint_url": "api.prod.bland.ai",
  "max_duration": 30,
  "error_message": null,
  "variables": {
    "now": "Sat Apr 27 2024 18:51:25 GMT-0500 (Central Daylight Time)",
    "now_utc": "Sat, 27 Apr 2024 23:51:25 GMT",
    "short_from": "7163511654",
    "short_to": "2223334444",
    "from": "+17163511654",
    "to": "+12223334444",
    "call_id": "d9cce3f3-23cf-4fa7-b62c-8be8119b8715",
    "phone_number": "+12223334444",
    "city": "SAN FRANCISCO",
    "country": "US",
    "state": "CA",
    "zip": "12345",
    "input": {
      "date": "2024-04-28",
      "rooms": 3
    }
  },
  "answered_by": "human",
  "record": false,
  "recording_url": null,
  "c_id": "d9cce3f3-23cf-4fa7-b62c-8be8119b8715",
  "metadata": {},
  "summary": "The call was a conversation between a hotel booking service assistant and a customer. The customer expressed interest in booking a hotel room for tomorrow and needing three rooms. The assistant booked book the reservation for three rooms for the next day. Then, the call ended with the assistant thanking the customer for choosing their service.",
  "price": 0.068,
  "started_at": "2024-04-27T23:51:25+00:00",
  "local_dialing": false,
  "call_ended_by": "ASSISTANT",
  "pathway_logs": null,
  "analysis_schema": null,
  "analysis": null,
  "concatenated_transcript": "user: Hello? \n assistant: Hi there! I'm calling from the hotel booking service. I'd love to help you with your reservation. Could you let me know what day you'd like to book your hotel for and how many rooms you'll need? \n user: Hopefully, tomorrow, I'm thinking. ...",
  "transcripts": [
    {
      "id": 7395694,
      "created_at": "2024-04-27T23:51:28.568385+00:00",
      "text": "Hello?",
      "user": "user",
      "c_id": "d9cce3f3-23cf-4fa7-b62c-8be8119b8715",
      "status": null,
      "transcript_id": null
    },
    {
      "id": 7395698,
      "created_at": "2024-04-27T23:51:30.689815+00:00",
      "text": "Hi there! I'm calling from the hotel booking service. I'd love to help you with your reservation. Could you let me know what day you'd like to book your hotel for and how many rooms you'll need?",
      "user": "assistant",
      "c_id": "d9cce3f3-23cf-4fa7-b62c-8be8119b8715",
      "status": null,
      "transcript_id": "c58ee235-0763-4ae1-a734-17fbba505c52"
    }
  ],
  "status": "completed",
  "corrected_duration": "45",
  "end_at": "2024-04-27T23:52:10.000Z"
}

请求参数

Path 参数

Header 参数

返回响应

🟢200成功
application/json
Body

修改于 2024-05-10 07:07:54
上一页
列出通话
下一页
声音录制
Built with