Update Procedure Visibility
Update or clear the visibility of a procedure draft. This is the condition that controls if a procedure is visible to the agent in its procedure menu.
路径参数
agent_id
要获取流程草稿的智能体 ID
branch_id
Branch ID to get the procedure draft from
procedure_id
流程 ID
请求头
xi-api-key
请求
This endpoint expects an object.
visibility
The condition that controls if the procedure is visible to the agent in its procedure menu. Null clears it, so the procedure is always visible.
响应
成功响应
procedure_id
流程 ID
name
流程名称
content
流程内容
type
流程类型
允许的值:
trigger
智能体应在何时使用此流程。空字符串表示这是一个子流程,仅应在其他流程引用它时启动。
folder_parent_id
此流程所在文件夹的流程 ID。None 表示根目录。
visibility
The condition that controls if the procedure is visible to the agent in its procedure menu. None means always visible.
错误
422
Procedures Update Visibility Request Unprocessable Entity Error