v1
latestOpenAPI 3.1.02026-07-26142186376.1 KBList Traces
Retrieve a paginated list of execution traces with optional filtering.
Traces provide observability into:
- Agent execution flows
- Model invocations and token usage
- Tool calls and their results
- Errors and performance bottlenecks
Filtering Options:
- By run, session, user, or agent ID
- By status (OK, ERROR)
- By time range
Pagination:
- Use page (1-indexed) and limit parameters
- Response includes pagination metadata (total_pages, total_count, etc.)
Response Format: Returns summary information for each trace. Use GET /traces/{trace_id} for detailed hierarchy.
Query parameters
Filter by run ID
Filter by run ID
Filter by session ID
Filter by session ID
Filter by user ID
Filter by user ID
Filter by agent ID
Filter by agent ID
Filter by team ID
Filter by team ID
Filter by workflow ID
Filter by workflow ID
Filter by status (OK, ERROR)
Filter by status (OK, ERROR)
Filter traces starting after this time (ISO 8601 format with timezone, e.g., '2025-11-19T10:00:00Z' or '2025-11-19T15:30:00+05:30'). Times are converted to UTC for comparison.
Filter traces starting after this time (ISO 8601 format with timezone, e.g., '2025-11-19T10:00:00Z' or '2025-11-19T15:30:00+05:30'). Times are converted to UTC for comparison.
Filter traces ending before this time (ISO 8601 format with timezone, e.g., '2025-11-19T11:00:00Z' or '2025-11-19T16:30:00+05:30'). Times are converted to UTC for comparison.
Filter traces ending before this time (ISO 8601 format with timezone, e.g., '2025-11-19T11:00:00Z' or '2025-11-19T16:30:00+05:30'). Times are converted to UTC for comparison.
Page number (1-indexed)
Page number (1-indexed)
Number of traces per page
Number of traces per page
Database ID to query traces from
Database ID to query traces from
Response
List of traces retrieved successfully