# AssistantMessageResultMessage
Source: https://docs.maelstrom-ai.co/0.2/reference/protocol/interfaces/assistantmessageresultmessage/
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/envelope.ts:300

Engine acknowledgement that an assistant-message injection finished.

`requestId` echoes the originating [AcknowledgedAssistantMessage](https://docs.maelstrom-ai.co/0.2/reference/protocol/variables/acknowledgedassistantmessage/) `id` so clients can correlate the result to a waiter. Legacy [AssistantInjectionMessage](https://docs.maelstrom-ai.co/0.2/reference/protocol/variables/assistantinjectionmessage/) requests remain fire-and-forget and do not receive this frame. `outcome` is load-bearing: `'inserted'` means the engine stored a new history entry; `'deduped'` means an entry with that id already existed and nothing was appended. Greeting and other idempotent injectors branch on that distinction before running side effects such as speech.

## Properties

### outcome

> `readonly` **outcome**: `"inserted"` | `"deduped"`

Defined in: packages/protocol/src/lib/envelope.ts:308

Whether history grew or already contained the request id.

* * *

### requestId

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

Defined in: packages/protocol/src/lib/envelope.ts:304

Echoes the acknowledged request id.

* * *

### sessionId

> `readonly` **sessionId**: [`SessionId`](https://docs.maelstrom-ai.co/0.2/reference/protocol/type-aliases/sessionid/)

Defined in: packages/protocol/src/lib/envelope.ts:306

Echoes the session whose history was targeted.

* * *

### type

> `readonly` **type**: `"engine.assistant_message.result"`

Defined in: packages/protocol/src/lib/envelope.ts:302

Identifies the correlated assistant-injection result frame.
