# Interface OutcomeRecord

Outcome record for a routing decision.

interface OutcomeRecord {
timestamp: string;
traceId: string;
model: "claude" | "gemini" | "codex" | "opencode";
success: boolean;
reward: number;
qualityScore?: number;
latencyMs?: number;
}

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

##### Index

### Properties

timestamp
traceId
model
success
reward
qualityScore?
latencyMs?

## Properties

### `Readonly` timestamp

timestamp: string

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

### `Readonly` traceId

traceId: string

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

### `Readonly` model

model: "claude" | "gemini" | "codex" | "opencode"

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

### `Readonly` success

success: boolean

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

### `Readonly` reward

reward: number

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

### `Optional` `Readonly` qualityScore

qualityScore?: number

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

### `Optional` `Readonly` latencyMs

latencyMs?: number

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