Skip to main content

Returns

Returns a list of Trace objects.

Example

traces = galtea.traces.list(inference_result_id="YOUR_INFERENCE_RESULT_ID")

Parameters

session_id
string | list[string]
Filter traces by session ID(s).
inference_result_id
string | list[string]
Filter traces by inference result ID(s).
node_types
list[string]
Filter traces by node type. Options: TOOL, CHAIN, RETRIEVER, LLM, CUSTOM.
sort_by_start_time
string
Sort traces by start_time. Valid values: asc, desc.
offset
int
Number of traces to skip for pagination. Default: 0.
limit
int
Maximum number of traces to return. Default: 1000.