# MaelstromResponse
Source: https://docs.maelstrom-ai.co/dev/reference/protocol/interfaces/maelstromresponse/
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/protocol/src/lib/response.ts:542](https://github.com/maelstrom-co/maelstrom/blob/89a8f5e9d10cedcf0b30376d7846113f06f26120/packages/protocol/src/lib/response.ts#L542)

Healed Chart decision whose layout is applied before its Action plan.

## Properties

### executionPlan

> `readonly` **executionPlan**: readonly [`ActionExecution`](https://docs.maelstrom-ai.co/dev/reference/protocol/interfaces/actionexecution/)\[\]

Defined in: [packages/protocol/src/lib/response.ts:556](https://github.com/maelstrom-co/maelstrom/blob/89a8f5e9d10cedcf0b30376d7846113f06f26120/packages/protocol/src/lib/response.ts#L556)

Applied after layout; order is preserved only within each target Instance.

* * *

### layout

> `readonly` **layout**: [`GridLayout`](https://docs.maelstrom-ai.co/dev/reference/protocol/interfaces/gridlayout/) | [`TilingLayout`](https://docs.maelstrom-ai.co/dev/reference/protocol/interfaces/tilinglayout/)

Defined in: [packages/protocol/src/lib/response.ts:558](https://github.com/maelstrom-co/maelstrom/blob/89a8f5e9d10cedcf0b30376d7846113f06f26120/packages/protocol/src/lib/response.ts#L558)

Uses the same mode requested in the Chart context after successful healing.

* * *

### rationale

> `readonly` **rationale**: `string`

Defined in: [packages/protocol/src/lib/response.ts:554](https://github.com/maelstrom-co/maelstrom/blob/89a8f5e9d10cedcf0b30376d7846113f06f26120/packages/protocol/src/lib/response.ts#L554)

Engine rationale intended for diagnostics rather than user display.

* * *

### requestId

> `readonly` **requestId**: [`MessageId`](https://docs.maelstrom-ai.co/dev/reference/protocol/type-aliases/messageid/)

Defined in: [packages/protocol/src/lib/response.ts:546](https://github.com/maelstrom-co/maelstrom/blob/89a8f5e9d10cedcf0b30376d7846113f06f26120/packages/protocol/src/lib/response.ts#L546)

Echoes the input message ID and matches the enclosing output correlation ID.

* * *

### type

> `readonly` **type**: `"maelstrom_response"`

Defined in: [packages/protocol/src/lib/response.ts:544](https://github.com/maelstrom-co/maelstrom/blob/89a8f5e9d10cedcf0b30376d7846113f06f26120/packages/protocol/src/lib/response.ts#L544)

Wire discriminator for a Maelstrom Chart response.

* * *

### userMessage?

> `readonly` `optional` **userMessage?**: `string`

Defined in: [packages/protocol/src/lib/response.ts:552](https://github.com/maelstrom-co/maelstrom/blob/89a8f5e9d10cedcf0b30376d7846113f06f26120/packages/protocol/src/lib/response.ts#L552)

Assistant text intended for display and optional speech output. Absent when the request set `skipReply: true` and the Planner wrote no reply. The reference Engine never ships an empty string in its place.
