# Interface ActionRecord

Action record for caching successful patterns.

interface ActionRecord {
id: string;
taskType: string;
pattern: string;
usageCount: number;
successRate: number;
avgDurationMs: number;
lastUsed: Date;
}

- Defined in packages/nexus-agents/src/cli-adapters/routing-memory-types.ts:205

##### Index

### Properties

id
taskType
pattern
usageCount
successRate
avgDurationMs
lastUsed

## Properties

### `Readonly` id

id: string

Unique action ID

- Defined in packages/nexus-agents/src/cli-adapters/routing-memory-types.ts:207

### `Readonly` taskType

taskType: string

Task type this action applies to

- Defined in packages/nexus-agents/src/cli-adapters/routing-memory-types.ts:209

### `Readonly` pattern

pattern: string

Pattern description

- Defined in packages/nexus-agents/src/cli-adapters/routing-memory-types.ts:211

### `Readonly` usageCount

usageCount: number

Number of times this action was used

- Defined in packages/nexus-agents/src/cli-adapters/routing-memory-types.ts:213

### `Readonly` successRate

successRate: number

Success rate (0-1)

- Defined in packages/nexus-agents/src/cli-adapters/routing-memory-types.ts:215

### `Readonly` avgDurationMs

avgDurationMs: number

Average duration in milliseconds

- Defined in packages/nexus-agents/src/cli-adapters/routing-memory-types.ts:217

### `Readonly` lastUsed

lastUsed: Date

Last time this action was used

- Defined in packages/nexus-agents/src/cli-adapters/routing-memory-types.ts:219