Skip to main content
A Trace represents one complete agent execution from start to finish. Each trace has a unique trace_id that groups all related spans together.

Trace Attributes

Methods

to_dict()

Convert the trace to a dictionary.
Returns: dict

from_dict()

Create a trace from a dictionary.
Parameters:
  • data (dict): Dictionary containing trace data
Returns: Trace

Usage

See Also