Returns
Returns a list of Trace objects.Example
Parameters
Filter traces by inference result ID(s).
Filter traces by session ID(s).
Filter traces by type. Options:
SPAN, GENERATION, EVENT, AGENT, TOOL, CHAIN, RETRIEVER, EVALUATOR, EMBEDDING, GUARDRAIL.Filter traces by name.
Filter traces started at or after this timestamp. Accepts ISO 8601 string (e.g.,
'2024-01-01T00:00:00Z') or Unix timestamp in seconds. Can be used independently or together with to_start_time.Filter traces started at or before this timestamp. Accepts ISO 8601 string (e.g.,
'2024-12-31T23:59:59Z') or Unix timestamp in seconds. Can be used independently or together with from_start_time.Sort traces by start_time. Valid values:
asc, desc.Number of traces to skip for pagination. Default:
0.Maximum number of traces to return. Default:
1000.At least one of
inference_result_id or session_id must be provided.