All features
05SESSIONS & USERS

Group by session and user

One conversation is many traces. Pass a session id to stitch every turn into a single thread, and a user id to slice your data by the people actually using the product.

  • Group multi-turn chats into one replayable session timeline.
  • Filter every metric — cost, latency, volume — by end user.
  • Tag traces by environment, feature, or experiment for fast filtering.
  • Spot your heaviest users and most expensive conversations.

Group by session 👥

trace = currai.trace(
    name="chat-turn",
    session_id="sess-42",
    user_id="user-1",
    tags=["chatbot", "production"],
)

# every turn sharing sess-42 is stitched into one conversation view
await currai.flush_async()