Skip to main content

ExecutionGraph

Defined in: types.ts:110

Properties​

agentId​

readonly agentId: string

Defined in: types.ts:121


edges​

readonly edges: readonly ExecutionEdge[]

Defined in: types.ts:115


endTime​

readonly endTime: number | null

Defined in: types.ts:118

null if the graph is still running.


events​

readonly events: readonly TraceEvent[]

Defined in: types.ts:123

Full ordered event log for auditability.


id​

readonly id: string

Defined in: types.ts:111


metadata?​

readonly optional metadata?: Record<string, unknown>

Defined in: types.ts:133

Arbitrary metadata preserved from the trace file.


nodes​

readonly nodes: ReadonlyMap<string, ExecutionNode>

Defined in: types.ts:114

All nodes indexed by ID.


operatorContext?​

readonly optional operatorContext?: OperatorContext

Defined in: types.ts:131

Operator context for organizational tracking.


parentSpanId?​

readonly optional parentSpanId?: string | null

Defined in: types.ts:129

Parent span ID, or null if this is the root span.


rootNodeId​

readonly rootNodeId: string

Defined in: types.ts:112


spanId?​

readonly optional spanId?: string

Defined in: types.ts:127

Unique span ID for this graph within the trace.


startTime​

readonly startTime: number

Defined in: types.ts:116


status​

readonly status: GraphStatus

Defined in: types.ts:119


traceId?​

readonly optional traceId?: string

Defined in: types.ts:125

Distributed trace ID linking graphs across services.


trigger​

readonly trigger: string

Defined in: types.ts:120