# ActionRecord
Source: https://docs.maelstrom-ai.co/dev/reference/client/interfaces/actionrecord/
Documentation revision: 89a8f5e9d10cedcf0b30376d7846113f06f26120
SDK manifests in this build: @maelstrom-co/react@0.2.1, @maelstrom-co/client@0.2.1, @maelstrom-co/connectors@0.2.1, @maelstrom-co/protocol@0.2.1, @maelstrom-co/engine@0.2.1
These docs follow this source revision. Manifest versions do not prove release compatibility; verify the installed package exports before using an API.

Defined in: [packages/client/src/lib/command-processor/action-runner.types.ts:206](https://github.com/maelstrom-co/maelstrom/blob/89a8f5e9d10cedcf0b30376d7846113f06f26120/packages/client/src/lib/command-processor/action-runner.types.ts#L206)

Action execution summary.

## Properties

### action

> **action**: `ActionName`

Defined in: [packages/client/src/lib/command-processor/action-runner.types.ts:208](https://github.com/maelstrom-co/maelstrom/blob/89a8f5e9d10cedcf0b30376d7846113f06f26120/packages/client/src/lib/command-processor/action-runner.types.ts#L208)

* * *

### duration

> **duration**: `number`

Defined in: [packages/client/src/lib/command-processor/action-runner.types.ts:210](https://github.com/maelstrom-co/maelstrom/blob/89a8f5e9d10cedcf0b30376d7846113f06f26120/packages/client/src/lib/command-processor/action-runner.types.ts#L210)

* * *

### errorCategory?

> `optional` **errorCategory?**: `"transport"` | `"timeout"` | `"validation"` | `"readiness"` | `"application"` | `"provider"` | `"unknown"`

Defined in: [packages/client/src/lib/command-processor/action-runner.types.ts:213](https://github.com/maelstrom-co/maelstrom/blob/89a8f5e9d10cedcf0b30376d7846113f06f26120/packages/client/src/lib/command-processor/action-runner.types.ts#L213)

Producer-known cause of skipped or failed work; omitted when unavailable.

* * *

### instanceId

> **instanceId**: `InstanceId`

Defined in: [packages/client/src/lib/command-processor/action-runner.types.ts:207](https://github.com/maelstrom-co/maelstrom/blob/89a8f5e9d10cedcf0b30376d7846113f06f26120/packages/client/src/lib/command-processor/action-runner.types.ts#L207)

* * *

### reason?

> `optional` **reason?**: `string`

Defined in: [packages/client/src/lib/command-processor/action-runner.types.ts:222](https://github.com/maelstrom-co/maelstrom/blob/89a8f5e9d10cedcf0b30376d7846113f06f26120/packages/client/src/lib/command-processor/action-runner.types.ts#L222)

Human-readable diagnostic for why a skipped Action did not run, naming the Action, the Instance and, when known, its Variant. Set on skips recorded while Actions resolve against their Instance’s Variant: `application` skips, and `readiness` skips for a runner that went away mid-sequence. The readiness skip before any Action runs, and execution without Variant resolution, leave it unset. Branch on `errorCategory`, not on this text.

* * *

### result

> **result**: [`ActionResult`](https://docs.maelstrom-ai.co/dev/reference/client/type-aliases/actionresult/)

Defined in: [packages/client/src/lib/command-processor/action-runner.types.ts:209](https://github.com/maelstrom-co/maelstrom/blob/89a8f5e9d10cedcf0b30376d7846113f06f26120/packages/client/src/lib/command-processor/action-runner.types.ts#L209)

* * *

### skipped?

> `optional` **skipped?**: `boolean`

Defined in: [packages/client/src/lib/command-processor/action-runner.types.ts:211](https://github.com/maelstrom-co/maelstrom/blob/89a8f5e9d10cedcf0b30376d7846113f06f26120/packages/client/src/lib/command-processor/action-runner.types.ts#L211)
