Use this file to discover all available pages before exploring further.
The AI Ticket Support System exposes a REST API that powers ticket creation, classification, retrieval, and management. When a ticket is submitted, the API synchronously runs GPT-4o-mini classification, hybrid RAG search against the knowledge base, and GraphRAG entity-context retrieval before persisting the result. Every response body is JSON.
When running via Docker Compose the backend container is published on host port 3001. All ticket endpoints are prefixed with /api/v1. The health check endpoint sits at /api/health (outside the versioned prefix).
Auto-incremented primary key assigned by the database.
user_description
string
The raw problem description submitted by the customer.
category
string | null
AI-assigned support category. One of: Billing, Technical, Shipping, Returns, Account, Other. null until classification runs.
ai_suggested_response
string | null
GPT-4o-mini response enriched with matching knowledge base articles and GraphRAG entity context. null until classification runs.
confidence_score
number | null
Float between 0.0 and 1.0 representing AI classification confidence. Tickets with a score ≥ 0.7 are automatically set to ai_resolved.
status
string
Lifecycle status. ai_resolved — handled automatically; pending_agent — needs human review; closed — resolved and closed. Default on creation is pending_agent, overridden by the confidence threshold.
created_at
string
ISO 8601 UTC timestamp set at row insertion.
updated_at
string
ISO 8601 UTC timestamp updated automatically on every write.