agents_traces_list
List recent execution traces for an agent — the same data as /admin/requests, scoped to one agent and readable by an LLM.
Use this when an agent call timed out, drafted the wrong response, or you want to know which tool/LLM call burned the latency. Pair with agents.trace_get for full detail on a specific trace.
Filters: status, success, source (single value or comma-separated: agent,voice), date_from/date_to (ISO-8601), pagination via limit/offset.
Returns returned_count, dropped_on_page (should be 0 — positive means the backend agent_id predicate let something through), and has_more. Edge case: a raw page of all-dedup-dropped rows yields returned_count=0, has_more=true; re-call with offset += limit.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max rows per page (1–100). | |
| offset | No | Rows to skip for pagination. OMIT to start at row 0 (default). | |
| source | No | Filter by trace source. Single value or comma-separated, e.g. 'agent,voice'. Values: agent / auto_reply / agentic / outreach / voice. Note: source='agent' also matches voice traces today (known upstream bug). | |
| status | No | Filter by status. OMIT to include all statuses. | |
| date_to | No | ISO-8601 upper bound on created_at. | |
| success | No | Filter to succeeded (true) or failed (false) runs only. OMIT to include both. | |
| agent_id | Yes | Agent ID to pull traces for (must belong to your workspace). | |
| date_from | No | ISO-8601 lower bound on created_at, e.g. '2026-04-10T00:00:00Z'. | |
| in_workspace | No | Run this one call in this workspace id instead of the session's. Nothing is stored; other sessions are not affected. |