Interface LDAIGraphMetrics

Graph-level metrics for a completed graph run, as returned by a graph runner. Does NOT include handoffs or evaluations — those are managed-layer concerns.

Hierarchy

  • LDAIGraphMetrics

Properties

durationMs?: number

Total graph execution duration in milliseconds, if tracked.

nodeMetrics: Record<string, LDAIMetrics>

Per-node metrics keyed by agent config key.

path: string[]

Execution path through the graph as an ordered array of config keys.

success: boolean

Whether the graph invocation succeeded.

tokens?: LDTokenUsage

Aggregate token usage across the entire graph invocation, if available.

Generated using TypeDoc