Create conversation ticket

Raise a ticket about an agent’s performance on a conversation, for triage with Architect. Provide an overall comment and/or turn-level comments describing what went wrong.

Nagłówki

xi-api-keystringOpcjonalny

Żądanie

This endpoint expects an object.
conversation_idstringWymagany
Conversation this ticket is about.
titlestringOpcjonalny1-120 characters

One-line headline shown in the triage list. Defaults to one derived from the comments, falling back to the conversation’s summary title. Ignored when the comment is added to the conversation’s open ticket.

qa_commentstringOpcjonalny1-10000 characters
The issue this ticket is about, covering the whole conversation rather than a single turn.
turn_commentslist of objectsOpcjonalny

Optional turn-level comments on what went wrong.

priorityenumOpcjonalny
How urgently the ticket needs attention. If the conversation already has an open ticket, it is raised to this priority when lower.
Dozwolone wartości:

Odpowiedź

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
Dozwolone wartości:
priority_changeslist of objects
sourceenum
Dozwolone wartości:
created_at_unix_secsinteger
updated_at_unix_secsinteger
titlestringOpcjonalny

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

issue_typeenumOpcjonalny
first_seen_unix_secsintegerOpcjonalny
last_seen_unix_secsintegerOpcjonalny
qa_commentstringOpcjonalny
priorityenumOpcjonalny
Dozwolone wartości:
assignee_user_idstringOpcjonalny

Błędy

422
Triage Tickets Create Request Unprocessable Entity Error