LangSmith Adds Per-User Tracking: Cost and Traces by user_id

LangChain · x · 2026-12-01

LangSmith launched a user-tracking feature (beta, LangSmith Cloud only): add a userid to your trace's root run metadata to link every trace to an end user.

Mechanics mirror threadid: the SDK copies root-run metadata to child runs, so set userid once at the root; setting it only on a child run won't surface in the UI. Note userid (end user) differs from lsuserid (LangSmith account).

Original post →

More from coding & agent

coding & agent channel →