Have eDesk AI write a new summary of a ticket and return it. By default the summary is also added to the ticket, as when an agent generates one in the ticket view in eDesk: it shows in the ticket's messages as an AiSummary message and becomes the ticket's summary. Send add_to_ticket false to only get the summary back, leaving the ticket unchanged. The body is optional; one that is not JSON (a form, for example) is refused with a 400.
The summary covers the conversation since the last summary added to the ticket, that summary included, or the whole conversation when the ticket has none. It is written in the eDesk language of the account's admin user, the user API tokens act as. Each call writes a new summary, which takes several seconds, and longer for a long conversation.
summary is null when eDesk AI could not write one: the ticket has nothing to summarise, or the AI service did not answer (try again later). Nothing is added to the ticket then.
Needs full access to Tickets, and an account whose plan includes eDesk AI: otherwise a 403. A ticket that does not exist returns a 404, and one the token cannot access a 403.
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||