跳到导航

添加规则

Add a behavioral rule to the named receptionist.

路径参数

agent_idstring必需

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

请求头

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

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

请求

This endpoint expects an object.
titlestring必需

规则标题。

descriptionstring必需

智能体应执行的具体操作。

priorityenum可选默认为 strict

strict:智能体必须始终遵守该规则;suggestion:一项指导原则。

允许的值:

响应

成功响应

titlestring

规则标题。

descriptionstring

智能体应执行的具体操作。

priorityenum可选默认为 strict

strict:智能体必须始终遵守该规则;suggestion:一项指导原则。

允许的值:
idstring可选

规则 ID。

created_at_unixinteger可选

规则创建时间,以秒为单位的 Unix 时间戳。

错误

422
Unprocessable Entity Error