{"service":"Asisten Virtual e-Billing PELNI","version":"1.0","description":"API for PELNI e-Billing Virtual Assistant - AI-powered invoice tracking and procurement information system","endpoints":{"Decode Token":"/decode (POST) - requires token - Call this first to set utk_kode","REST API Chat":"/ai/v1/chat (POST) - requires user_id, user_name, message","WebSocket Chat":"/ai/v1/chat/ws/{user_id}/{user_name}","Get Conversation History":"/ai/v1/chat/session/{user_id} (GET)","Reset Thread":"/v1/reset (POST) - requires user_id","Health":"/health","Docs":"/docs"},"usage_flow":["1. Call POST /decode with token to get user_id (pslh_id) and save utk_kode","2. Use returned user_id to call POST /ai/v1/chat or connect to WebSocket","3. Virtual Assistant will automatically use saved utk_kode for invoice queries"]}