创建智能体会话工单

针对智能体在某次对话中的表现创建工单,以便与 Architect 分类处理。请提供总体评论和/或轮次级评论,说明出现的问题。

请求头

xi-api-keystring可选

请求

This endpoint expects an object.
conversation_idstring必需

此工单所涉及的对话。

titlestring or null可选1-120 characters

显示在分类列表中的一行标题。默认根据评论生成,如无则使用对话摘要标题。向对话的开放工单添加评论时将忽略此项。

qa_commentstring or null可选1-10000 characters

此工单涉及的问题,涵盖整段对话而非单个对话轮次。

turn_commentslist of objects可选

关于具体轮次出现问题的可选评论。

priorityenum or null可选

工单需要处理的紧急程度。如果对话已有未关闭的工单,且其优先级较低,将提升至此优先级。

允许的值:

响应

成功响应

agentqa_ticket_idstring
workspace_idstring
owner_user_idstring
agent_idstring
needs_clusteringboolean
titlestring or null

工单的一行标题。仅在标题功能推出前创建的工单中为 None。

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
sourceenum
允许的值:
assignee_user_idstring or null
created_at_unix_secsinteger
updated_at_unix_secsinteger

错误

422
Unprocessable Entity Error