trace_id defined on your side when doing the integration. Read more about it on concepts.
REST API Specification
Endpoint
POST /api/track_event
Headers
X-Auth-Token: Your LangWatch API key.
Request Body
Example
vote metric is mandatory and must be either 1 or -1. The feedback field in event_details is optional and can be used to provide additional context or comments from the user.