列出提案

列出智能体的提案,按创建时间倒序排列。

路径参数

agent_idstring必需

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

请求头

xi-api-keystring可选

查询参数

statusenum or null可选

仅返回具有此状态的提案。

允许的值:
source_branch_idstring or null可选

仅返回使用此源分支的提案。

target_branch_idstring or null可选

仅返回使用此目标分支的提案。

searchstring or null可选<=140 characters

Case-insensitive substring match over title and description.

page_sizeinteger可选1-100默认为 100

最多应返回多少条结果

cursorstring or null可选

用于获取下一页。响应中会返回游标。

响应

成功响应

resultslist of objects
next_cursorstring or null
has_moreboolean只读

错误

422
Unprocessable Entity Error