v2
OpenAPI 3.0.02026-08-051996591.2 MBList agent traces
Lists agent traces with optional filtering by agent, session, status, and time range.
Query parameters
Filter traces by agent key.
Filter traces by session key.
Filter traces by status.
Filter to traces containing a span with this exact error type.
Filter to traces containing at least one span with this operation.
Filter to traces containing a tool execution span with this exact tool name.
Filter to traces containing a tool span with this exact error type.
Return only traces started after this time (ISO 8601).
Return only traces started before this time (ISO 8601).
Return only traces with duration at or above this threshold in milliseconds.
Return only traces with duration at or below this threshold in milliseconds.
The maximum number of traces to return.
The opaque cursor returned in metadata.page_key of the previous response. Omit it to fetch the first page.
Headers
The platform makes a best effort to complete the request in the specified seconds, or it times out.
The platform makes a best effort to complete the request in the specified milliseconds, or it times out.
Response
List of agent traces.
Example response
{
"traces": [
{
"trace_id": "0af7651916cd43dd8448eb211c80319c",
"agent_key": "customer_support",
"session_key": "customer_support_chat"
}
],
"metadata": {
"page_key": "eyJvZmZzZXQiOjF9"
}
}