Smart Get Ticket
gorgias_smart_get_ticketRetrieve a ticket's complete conversation history in a concise, LLM-friendly format. Automatically fetches all messages up to your configured limit, ensuring full context for AI analysis.
Instructions
Retrieve a ticket with its full conversation thread, projected to a clean format optimised for LLM consumption. Auto-paginates the messages endpoint up to max_messages (default 1000) so long conversations are returned in full. If the ticket has more messages than max_messages, the response will include truncated=true. Messages are sorted chronologically (oldest first). Use gorgias_smart_search to find tickets first. For raw API data, use gorgias_get_ticket instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The unique ID of the ticket to retrieve with its full conversation | |
| max_messages | No | Maximum number of messages to fetch (default 1000, hard cap 5000). Long-running tickets with more messages than this cap will return truncated=true. Lower this for cheap recall on tickets you only need a summary of; raise it for full audit history. |