Track if users leave before the LLM application finishes generating a response
finished
set as 0
, to identify the output has started, and the another one with finished
set as 1
when the output finishes at client side. If "finished": 1
is never received, we assume the user didn’t let the AI finish.
POST /api/track_event
X-Auth-Token
: Your LangWatch API key.