{"service":"Legal QA Chat Agent","version":"4.0.0","docs":"/docs","endpoints":{"create_conversation":"POST   /v1/conversations","list_conversations":"GET    /v1/conversations","get_conversation":"GET    /v1/conversations/{id}","delete_conversation":"DELETE /v1/conversations/{id}","send_message":"POST   /v1/conversations/{id}/message","trigger_handoff":"POST   /v1/conversations/{id}/handoff","handoff_queue":"GET    /v1/handoff/queue?staff_id=","accept_handoff":"POST   /v1/handoff/{session_id}/accept","close_handoff":"POST   /v1/handoff/{session_id}/close","handoff_queue_ticket":"POST   /v1/ws/handoff/queue/ticket (auth)","handoff_customer_ticket":"POST  /v1/ws/handoff/{session_id}/ticket (public, rate-limited)","handoff_staff_ticket":"POST   /v1/ws/handoff/{session_id}/staff-ticket (auth)","handoff_queue_ws":"WS     /v1/ws/handoff/queue?ticket=","handoff_ws":"WS     /v1/ws/handoff/{session_id}?ticket=","rate_conversation":"PATCH  /v1/conversations/{id}/rating","close_conversation":"POST   /v1/conversations/{id}/close","list_files":"GET    /v1/files","ingest_file":"POST   /v1/files/ingest","download_file":"GET    /v1/files/{file_id}/download","classify_files":"POST   /v1/files/classify","download_zip":"POST   /v1/files/download-zip","delete_file":"DELETE /v1/files/{file_id}","list_knowledge_base":"GET    /v1/knowledge-base","clear_knowledge_base":"DELETE /v1/knowledge-base/clear","import_knowledge_base":"POST   /v1/knowledge-base/import-jsonl","health":"GET    /v1/health"}}