Trace an execution

Returns a structured trace tree for a single execution.

Authentication

AuthorizationBearer
API key or Clerk session token

Path parameters

executionIdstringRequired

Runtime execution_id / executionSessionId to trace (for example exec_… or otel-…), not the aex_… agent-execution row ID

Response

Trace tree returned
successboolean
dataanyOptional

Errors

400
Bad Request Error
401
Unauthorized Error
500
Internal Server Error