@launchdarkly/server-sdk-ai - v2.0.21
    Preparing search index...

    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.

    interface LDAIGraphMetrics {
        durationMs?: number;
        nodeMetrics: Record<string, LDAIMetrics>;
        path: string[];
        success: boolean;
        tokens?: LDTokenUsage;
    }
    Index
    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.