Allows you to retrieve a list of interaction records (runs) associated with a specific chat session. This can be useful for displaying chat messages to the user, analyzing conversation history, understanding user behavior within a session, and potentially debugging agent interactions.

Arguments

id
string

The session ID to get the runs of.

Response

runs
RunHistory[]

Returns a list of runs, usually following the patter user -> agent -> user -> agent when running individual agents reflecting a basic back-and-forth conversation flow.

Reference to RunHistory

Was this page helpful?