# Interface FeedbackRoutingDecision

Recorded routing decision for feedback tracking.

interface FeedbackRoutingDecision {
id: string;
timestamp: string;
query: string;
routerType: RouterType;
selectedModel: string;
selectedTier?: "strong" | "weak";
armIndex?: number;
banditContext?: BanditContext;
queryFeatures?: QueryFeatures;
ucbScore?: number;
confidence?: number;
traceId: string;
domain?: string;
}

- Defined in packages/nexus-agents/src/learning/outcome-feedback-types.ts:62

##### Index

### Properties

id
timestamp
query
routerType
selectedModel
selectedTier?
armIndex?
banditContext?
queryFeatures?
ucbScore?
confidence?
traceId
domain?

## Properties

### `Readonly` id

id: string

Unique decision ID

- Defined in packages/nexus-agents/src/learning/outcome-feedback-types.ts:64

### `Readonly` timestamp

timestamp: string

Timestamp of decision

- Defined in packages/nexus-agents/src/learning/outcome-feedback-types.ts:66

### `Readonly` query

query: string

Original query/task that was routed

- Defined in packages/nexus-agents/src/learning/outcome-feedback-types.ts:68

### `Readonly` routerType

routerType: RouterType

Type of router used

- Defined in packages/nexus-agents/src/learning/outcome-feedback-types.ts:70

### `Readonly` selectedModel

selectedModel: string

Selected model/adapter name

- Defined in packages/nexus-agents/src/learning/outcome-feedback-types.ts:72

### `Optional` `Readonly` selectedTier

selectedTier?: "strong" | "weak"

Selected model tier (strong/weak for preference routing)

- Defined in packages/nexus-agents/src/learning/outcome-feedback-types.ts:74

### `Optional` `Readonly` armIndex

armIndex?: number

Arm index for LinUCB bandit

- Defined in packages/nexus-agents/src/learning/outcome-feedback-types.ts:76

### `Optional` `Readonly` banditContext

banditContext?: BanditContext

Bandit context (for LinUCB decisions)

- Defined in packages/nexus-agents/src/learning/outcome-feedback-types.ts:78

### `Optional` `Readonly` queryFeatures

queryFeatures?: QueryFeatures

Query features (for preference routing)

- Defined in packages/nexus-agents/src/learning/outcome-feedback-types.ts:80

### `Optional` `Readonly` ucbScore

ucbScore?: number

UCB score (for LinUCB)

- Defined in packages/nexus-agents/src/learning/outcome-feedback-types.ts:82

### `Optional` `Readonly` confidence

confidence?: number

Confidence score

- Defined in packages/nexus-agents/src/learning/outcome-feedback-types.ts:84

### `Readonly` traceId

traceId: string

Trace ID to correlate with SwarmObserver events

- Defined in packages/nexus-agents/src/learning/outcome-feedback-types.ts:86

### `Optional` `Readonly` domain

domain?: string

Task domain classification

- Defined in packages/nexus-agents/src/learning/outcome-feedback-types.ts:88