Interface RouteCompleteEvent

Emitted when the entire query routing pipeline completes.

interface RouteCompleteEvent {
    type: "route:complete";
    result: QueryRouterResult;
    durationMs: number;
    timestamp: number;
}

Properties

type: "route:complete"

The final query result.

durationMs: number

Total duration of the entire pipeline in milliseconds.

timestamp: number

Timestamp when routing completed.