Skip to navigation

Create agent issue

Manually raise a follow-up issue against an agent, not tied to any conversation (for example a task like ‘add the KB about X’). Without a title, one is derived from the comment. Requires viewer access to the agent.

Path parameters

agent_idstringRequired

Headers

xi-api-keystringOptional

Request

This endpoint expects an object.
qa_commentstringRequired1-10000 characters

What the agent issue is about, e.g. a follow-up task for the agent.

titlestring or nullOptional1-120 characters

One-line headline shown in the issues list. Defaults to one derived from qa_comment.

priorityenum or nullOptional
How urgently the agent issue needs attention.
Allowed values:

Response

Successful Response
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.

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
Allowed values:
priorityenum or null
Allowed values:
priority_changeslist of objects
status_changeslist of objects
sourceenum
Allowed values:
assignee_user_idstring or null
created_at_unix_secsinteger
updated_at_unix_secsinteger
merged_into_ticket_idstring or nullOptional
The agent issue this one was merged into, set while its status is 'merged'.
search_matchobject or nullOptional

Where the list’s search query matched. Set only on searched lists.

issue_typeanyOptionalDeprecated

Always null. Issue types are labels, written as issue_type:<value>.

Errors

422
Unprocessable Entity Error