Skip to navigation

Add turn comment

Append a turn-level comment to a ticket. Requires viewer access to the ticket’s agent.

Path parameters

agentqa_ticket_idstringRequired

Headers

xi-api-keystringOptional

Request

This endpoint expects an object.
turn_indexintegerRequired>=0

Zero-based index of the transcript turn this comment refers to.

commentstringRequired1-10000 characters
What went wrong at this turn.

Response

Successful Response
agentqa_ticket_idstring
workspace_idstring
owner_user_idstring
agent_idstring
needs_clusteringboolean
labelslist of strings
conversation_idslist of strings
ticket_commentslist of objects
turn_commentslist of objects
statusenum
Allowed values:
priority_changeslist of objects
sourceenum
Allowed values:
created_at_unix_secsinteger
updated_at_unix_secsinteger
titlestringOptional

One-line headline for the ticket. None only on tickets created before titles existed.

issue_typeenumOptional
first_seen_unix_secsintegerOptional
last_seen_unix_secsintegerOptional
qa_commentstringOptional
priorityenumOptional
Allowed values:
merged_into_ticket_idstringOptional
The ticket this one was merged into, set while its status is 'merged'.
assignee_user_idstringOptional
search_matchobjectOptional

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

Errors

422
Triage Tickets Add Turn Comment Request Unprocessable Entity Error