跳到导航

列出工作区会话工单

List agent issues across every agent in the workspace, ordered by most recently created first. Use this to build a workspace-wide view (for example, issues assigned to the caller). Supports the same filters, sorting and search as the per-agent endpoint. Issues for agents the caller cannot access are omitted.

请求头

xi-api-keystring可选

查询参数

page_sizeinteger可选1-100默认为 100

要返回的智能体问题数量。不得超过 100。

agent_idstring可选
Only issues for this agent.
conversation_idstring可选

按会话 ID 筛选智能体问题。

statusenum可选

按状态筛选智能体问题。

允许的值:
sourcesenum可选

按提出方式(qa、agent、manual)筛选智能体问题。重复此参数可按多个来源筛选。

允许的值:
prioritiesenum可选

按优先级筛选智能体问题。重复此参数可按多个优先级筛选。

允许的值:
sort_byenum可选

按最近创建时间、优先级(最紧急优先,其次最近创建)、最近报告时间(合并到智能体问题中的最新报告,否则按创建时间)或报告数量排序(合并到智能体问题的报告最多者优先,其次最近创建)。

允许的值:
owner_user_idstring可选

按创建者筛选智能体问题。对智能体提出的问题使用 ‘agent’。

assignee_user_idstring可选

按负责人筛选智能体问题。对未分配的问题使用 ‘unassigned’。

labelstring可选

按精确标签筛选智能体问题。

merged_into_ticket_idstring可选

筛选合并到此问题的智能体问题。

searchstring可选<=200 characters

Case-insensitive free-text search across the agent issue’s title, description, comments, and turn comments.

cursorstring可选

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

响应

成功响应

agent_conversation_ticketslist of objects
has_moreboolean
next_cursorstring可选

错误

422
Triage Tickets List for Workspace Request Unprocessable Entity Error