Skip to main content

Get a trace tree

GET 

/v1/projects/:project_id/traces/:trace_id/tree

Returns the whole execution tree. Each node is one agent's execution; children are the traces its sub-agent tool calls started. Asking for a child returns the tree from its root, so the response is the full execution either way — pass include=generations and one call is enough to render a finished run.

Request

Responses

The root node of the execution tree.