# Interface RoutingRecord

Individual routing decision record.

interface RoutingRecord {
timestamp: string;
traceId: string;
selectedModel: "claude" | "gemini" | "codex" | "opencode";
alternativeModels: readonly ("claude" | "gemini" | "codex" | "opencode")[];
isExploration: boolean;
taskType?: string;
contextTokens?: number;
routingLatencyMs?: number;
}

- Defined in packages/nexus-agents/src/observability/routing-metrics-types.ts:20

##### Index

### Properties

timestamp
traceId
selectedModel
alternativeModels
isExploration
taskType?
contextTokens?
routingLatencyMs?

## Properties

### `Readonly` timestamp

timestamp: string

- Defined in packages/nexus-agents/src/observability/routing-metrics-types.ts:21

### `Readonly` traceId

traceId: string

- Defined in packages/nexus-agents/src/observability/routing-metrics-types.ts:22

### `Readonly` selectedModel

selectedModel: "claude" | "gemini" | "codex" | "opencode"

- Defined in packages/nexus-agents/src/observability/routing-metrics-types.ts:23

### `Readonly` alternativeModels

alternativeModels: readonly ("claude" | "gemini" | "codex" | "opencode")[]

- Defined in packages/nexus-agents/src/observability/routing-metrics-types.ts:24

### `Readonly` isExploration

isExploration: boolean

- Defined in packages/nexus-agents/src/observability/routing-metrics-types.ts:25

### `Optional` `Readonly` taskType

taskType?: string

- Defined in packages/nexus-agents/src/observability/routing-metrics-types.ts:26

### `Optional` `Readonly` contextTokens

contextTokens?: number

- Defined in packages/nexus-agents/src/observability/routing-metrics-types.ts:27

### `Optional` `Readonly` routingLatencyMs

routingLatencyMs?: number

Time taken to make the routing decision (ms).

- Defined in packages/nexus-agents/src/observability/routing-metrics-types.ts:29