Сажети опис тикета
Show/Trigger
Required permission: ticket.agent
POST
-Request sent: /api/v1/tickets/{ticket id}/enqueue_summarize
The following POST request fetches an existing summary, if there is one available in the ticket. If there is no summary available or the ticket was changed after the existing summary was created, a new summary is triggered. In such a case, you won’t get a response with the summary. To get a summary, you have to re-send the request with a small delay considering the AI job may take a few seconds.
Sample response if the generation of a new summary was just triggered by the request:
Details
json
// HTTP Code 200 Ok
{
"result": null
}
Sample response for an existing summary (e.g. for the same ticket like above after waiting a few seconds):
Details
json
// HTTP Code 200 Ok
{
"result": {
"language": "en-US",
"customer_mood": "concerned",
"open_questions": [
"Can you please tell us what color the LED is flashing and how often it flashes?"
],
"upcoming_events": [],
"customer_emotion": "😐",
"customer_request": "Laptop not working [Order 931529477]",
"conversation_summary": "Customer Petra Parker reports a problem with her customized laptop, which only flashes one LED when pressed. Agent Alexander Jensen asks for more details and clarifies the issue with 2nd level support.",
"fingerprint_md5": "e516dda67c26605f31ea5ea9f8b184cf",
"relevant_for_current_user": true
}
}