Track when a user selects text generated by your LLM application
POST /api/track_event
X-Auth-Token
: Your LangWatch API key.text_length
metric is mandatory and should reflect the length of the selected text. The selected_text
field in event_details
is optional if you also want to capture the actual text that was selected by the user.