ExecutionGraph
Defined in: types.ts:100
The complete execution graph for one agent run.
Properties
agentId
readonlyagentId:string
Defined in: types.ts:111
edges
readonlyedges: readonlyExecutionEdge[]
Defined in: types.ts:105
endTime
readonlyendTime:number|null
Defined in: types.ts:108
null if the graph is still running.
events
readonlyevents: readonlyTraceEvent[]
Defined in: types.ts:113
Full ordered event log for auditability.
id
readonlyid:string
Defined in: types.ts:101
metadata?
readonlyoptionalmetadata?:Record<string,unknown>
Defined in: types.ts:121
Arbitrary metadata preserved from the trace file.
nodes
readonlynodes:ReadonlyMap<string,ExecutionNode>
Defined in: types.ts:104
All nodes indexed by ID.
parentSpanId?
readonlyoptionalparentSpanId?:string|null
Defined in: types.ts:119
Parent span ID, or null if this is the root span.
rootNodeId
readonlyrootNodeId:string
Defined in: types.ts:102
spanId?
readonlyoptionalspanId?:string
Defined in: types.ts:117
Unique span ID for this graph within the trace.
startTime
readonlystartTime:number
Defined in: types.ts:106
status
readonlystatus:GraphStatus
Defined in: types.ts:109
traceId?
readonlyoptionaltraceId?:string
Defined in: types.ts:115
Distributed trace ID linking graphs across services.
trigger
readonlytrigger:string
Defined in: types.ts:110