获取智能体分支

获取单个智能体分支的信息

路径参数

agent_idstring必需

智能体 ID。创建智能体时返回此值。

branch_idstring必需

分支的唯一标识符。

请求头

xi-api-keystring可选

响应

成功响应

idstring
namestring
agent_idstring
descriptionstring
created_atinteger
last_committed_atinteger
is_archivedboolean
protection_statusenum可选默认为 writer_perms_required
允许的值:
access_infoobject or null可选

分支访问信息

current_live_percentagedouble可选默认为 0

分支上已上线的流量百分比

parent_branchobject or null可选

该分支的父分支

most_recent_versionslist of objects可选

分支上的最新版本

错误

422
Unprocessable Entity Error