Traces
Traces

Search Traces with Advanced Filters

Search traces using the FilterExpr DSL for complex, composable queries.

Group By Mode:

  • run (default): Returns PaginatedResponse[TraceDetail] with full span trees
  • session: Returns PaginatedResponse[TraceSessionStats] with aggregated session stats

Supported Operators:

  • Comparison: EQ, NEQ, GT, GTE, LT, LTE
  • Inclusion: IN
  • String matching: CONTAINS (case-insensitive substring), STARTSWITH (prefix)
  • Logical: AND, OR, NOT

Filterable Fields: trace_id, name, status, start_time, end_time, duration_ms, run_id, session_id, user_id, agent_id, team_id, workflow_id, created_at

Example Request Body (runs):

post/traces/search

Request

Changes

No recorded changes to this operation across all 1 revision of this API.