List retained trace summaries
list_tracesList retained trace metadata in projects you can access in the connected organization. Omit project_uuid to include eligible projects and unassigned organization traces. All arguments are optional; start with {"limit":5}. Defaults to the last seven days, at most 31 days per request, newest trace IDs first. The window uses the earliest retained span in the trace's project scope. Returns names, project/trace UUIDs, timestamps, duration, generation count, error flag and scoped trace cost in USD. Follow meta.next_cursor with the same filters and returned from/to values. Use get_trace for retained detail and get_usage for usage across all calls, including zero-retention calls. Absence of traces does not mean no usage. Requires runtime:read.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_traces"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Exclusive RFC3339 end time. Defaults to now. Reuse the returned from/to values while paging. | |
| from | No | Inclusive RFC3339 start time. Defaults to seven days before to. The window must be positive and at most 31 days. | |
| limit | No | Page size, default 20, maximum 100. | |
| cursor | No | Opaque meta.next_cursor from the previous page; omit on the first page. | |
| status | No | Optional error or success filter based on retained spans in the trace's project scope. | |
| project_uuid | No | Optional project UUID you can access. Omit to include eligible projects and unassigned organization traces. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| meta | Yes |