Retrieve a list of all support tickets stored in the database. Results are always ordered byDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/yocxy2/2a/llms.txt
Use this file to discover all available pages before exploring further.
created_at descending so the most recently created tickets appear first. Use the optional status query parameter to scope the results to a specific lifecycle stage — useful for building agent queues or dashboard views.
Request
GET /api/v1/tickets
Query Parameters
Filter the results to tickets whose
status matches this value. Valid values:ai_resolved— Tickets the AI handled with confidence ≥ 0.7pending_agent— Tickets awaiting human agent reviewclosed— Tickets that have been closed
Examples
Response (200 OK)
Returns a JSON array of Ticket objects directly (not wrapped in an object). The array is empty ([]) when no tickets match the filter. Results are sorted by created_at descending — newest tickets appear first.
Each element of the array contains the following fields:
Auto-incremented ticket ID.
The original customer problem description.
AI-assigned category:
Billing, Technical, Shipping, Returns, Account, or Other.AI-generated response enriched with knowledge base articles and graph entity context.
AI confidence score between
0.0 and 1.0.Current ticket status:
ai_resolved, pending_agent, or closed.ISO 8601 UTC creation timestamp.
ISO 8601 UTC last-updated timestamp.
Example Response
Error Responses
| HTTP Status | Condition |
|---|---|
500 Internal Server Error | A database query error or other unhandled server-side failure. Response: {"error": "Internal server error"} |