跳到导航

列出过程

List the procedures (SOPs) on the named receptionist, with the tools each one is missing.

路径参数

agent_idstring必需

接待员 ID。可使用 GET /v1/reception/customer-facing-agents 列出。

请求头

xi-api-keystring可选
xi-workspace-idstring必需

经销商 API 密钥操作的客户工作区。

响应

成功响应

namestring
Name of the procedure.
triggerstring

接待员应何时以自然语言执行该流程。接待员会将来电者请求与其匹配,例如“当来电者想预约时”。

bodystring可选<=40000 characters默认为

以 Markdown 编写的分步说明。

idstring可选

流程 ID。

created_at_unixinteger可选

流程创建时间,以秒为单位的 Unix 时间戳。

source_keystring or null可选

当流程从集成模板复制时设置;自行创建的流程为 null。

missing_toolslist of strings可选

步骤所指向但接待员不具备的工具 API 名称。该字段非空时,流程不会在通话中执行。

错误

422
Unprocessable Entity Error