finished set as 0 to identify the output has started, and another one with finished set as 1 when the output finishes at client side. If "finished": 1 is never received, LangWatch assumes the user didn’t let the AI finish.
REST API Specification
Endpoint
POST /api/track_event
Headers
X-Auth-Token: Your LangWatch API key.