获取智能体
获取智能体配置。
路径参数
agent_id
智能体 ID。创建智能体时返回此值。
请求头
xi-api-key
查询参数
version_id
要使用的智能体版本 ID
branch_id
要使用的分支 ID
include_procedure_generated_workflow_elements
是否包含根据结构化流程生成的 workflow 节点和边。设为 false 时,workflow 仅包含手动创建的元素。
响应
成功响应
agent_id
智能体 ID
name
智能体名称
conversation_config
智能体的对话配置
metadata
智能体的元数据
platform_settings
智能体的平台设置
phone_numbers
智能体的电话号码
whatsapp_accounts
分配给智能体的 WhatsApp 账户
workflow
智能体的 workflow。
access_info
用户对智能体的访问信息
version_id
智能体当前版本的 ID
branch_id
智能体所在分支的 ID
main_branch_id
此智能体主分支的 ID
procedures
以 procedure_id 为键的流程。
default_hold_audio_url
未上传自定义等待音频时,向排队来电者播放的默认等待音 URL,供控制台预览。
错误
422
Unprocessable Entity Error