Skip to main content
Set a Session ID to group traces together — all turns in a conversation, or all steps in a multi-agent workflow.
TraceRoot dashboard showing traces grouped by session

Using using_attributes / usingAttributes

Propagate a Session ID to all traces within a block:
Combine with a User ID to get full context on every trace:

Using observe / inside a function

Call update_current_trace / updateCurrentTrace from within any observed function: