Returns
Returns a Trace object.Example
Parameters
The ID of the session this trace belongs to.
The name of the tool or function that was called.
The ID of the inference result to associate this trace with.
The type of node. Options:
TOOL, CHAIN, RETRIEVER, LLM, CUSTOM. See Node Types for details.The input data passed to the tool/function.
The output data returned by the tool/function.
Error message if the tool call failed.
The time in milliseconds the tool call took.
Additional metadata about the trace.
ISO 8601 timestamp when the trace started.
ISO 8601 timestamp when the trace ended.