创建手动智能体工单

手动为智能体创建后续工单,不关联任何对话(例如“添加关于 X 的知识库”这类任务)。未提供标题时,会根据评论生成标题。需要拥有该智能体的查看者权限。

路径参数

agent_idstring必需

请求头

xi-api-keystring可选

请求

This endpoint expects an object.
qa_commentstring必需1-10000 characters

工单内容,例如智能体的后续任务。

titlestring or null可选1-120 characters

显示在分类列表中的一行标题。默认根据 qa_comment 生成。

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