Interface LDAIGraphMetricSummary

Summarized graph-level metrics for a completed graph invocation, as returned by ManagedAgentGraph.run via ManagedGraphResult.metrics.

For the tracker-layer incremental view (where fields populate as tracking calls arrive), see LDGraphTracker.getSummary, which returns a Partial<LDAIGraphMetricSummary>.

Hierarchy

  • LDAIGraphMetricSummary

Properties

durationMs?: number

Total graph execution duration in milliseconds, if tracked.

nodeMetrics: Record<string, LDAIMetricSummary>

Per-node metric summaries keyed by agent config key.

path: string[]

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

resumptionToken?: string

Resumption token for deferred feedback association.

success: boolean

Whether the graph invocation succeeded.

tokens?: LDTokenUsage

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

Generated using TypeDoc