跳到导航

更新智能体对话工单

更新智能体问题的标题、评论、状态、优先级和/或受理人。需要拥有该问题所属智能体的查看权限。

路径参数

agentqa_ticket_idstring必需

请求头

xi-api-keystring可选

请求

This endpoint expects an object.
titlestring or null可选1-120 characters

如提供,则更新智能体问题的标题。省略则保持不变。

qa_commentstring or null可选1-10000 characters

如提供,则更新智能体问题的描述。省略则保持不变。

statusenum or null可选

如提供,则更新智能体问题的状态。省略则保持不变。

允许的值:
assignee_user_idstring or null可选
If provided, updates who is responsible for resolving this agent issue. Must be a workspace member with at least viewer access to the agent. Pass null to unassign. Omit to leave unchanged.
priorityenum or null可选

如提供,则更新智能体问题需要关注的紧急程度。传入 null 可清除;省略则保持不变。

允许的值:

响应

成功响应

agentqa_ticket_idstring
workspace_idstring
owner_user_idstring
agent_idstring
needs_clusteringboolean
titlestring or null

One-line headline for the agent issue. None only on issues created before titles existed.

issue_typeenum or null
labelslist of strings
conversation_idslist of strings
first_seen_unix_secsinteger or null
last_seen_unix_secsinteger or null
qa_commentstring or null
ticket_commentslist of objects
turn_commentslist of objects
statusenum
允许的值:
priorityenum or null
允许的值:
priority_changeslist of objects
status_changeslist of objects
sourceenum
允许的值:
assignee_user_idstring or null
created_at_unix_secsinteger
updated_at_unix_secsinteger
merged_into_ticket_idstring or null可选

此问题合并到的智能体问题,在其状态为 ‘merged’ 时设置。

search_matchobject or null可选

列表 search 查询的匹配位置。仅在已搜索的列表中设置。

错误

422
Unprocessable Entity Error