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
- 200
- 400
- 401
- 404
- 502
The root node of the execution tree.
The request was malformed or failed validation.
Missing or invalid credentials.
The resource does not exist (existence is not leaked).
The upstream runtime could not complete the operation.