# AssistantMessageResultOutput
Source: https://docs.maelstrom-ai.co/dev/reference/protocol/interfaces/assistantmessageresultoutput/
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/engine-output.ts:32](https://github.com/maelstrom-co/maelstrom/blob/89a8f5e9d10cedcf0b30376d7846113f06f26120/packages/protocol/src/lib/engine-output.ts#L32)

Result of an assistant\_message submission. `outcome` tells the caller whether this specific call wrote a new entry (`'inserted'`) or was a dedup no-op against an existing entry with the same [MessageId](https://docs.maelstrom-ai.co/dev/reference/protocol/variables/messageid/) (`'deduped'`). The history write itself is always idempotent; this field only reports which branch happened so callers can instrument behavior.

## Extends

-   [`EngineOutputBase`](https://docs.maelstrom-ai.co/dev/reference/protocol/interfaces/engineoutputbase/)

## Properties

### id

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

Defined in: [packages/protocol/src/lib/engine-output.ts:12](https://github.com/maelstrom-co/maelstrom/blob/89a8f5e9d10cedcf0b30376d7846113f06f26120/packages/protocol/src/lib/engine-output.ts#L12)

#### Inherited from

[`EngineOutputBase`](https://docs.maelstrom-ai.co/dev/reference/protocol/interfaces/engineoutputbase/).[`id`](https://docs.maelstrom-ai.co/dev/reference/protocol/interfaces/engineoutputbase/#id)

* * *

### outcome

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

Defined in: [packages/protocol/src/lib/engine-output.ts:34](https://github.com/maelstrom-co/maelstrom/blob/89a8f5e9d10cedcf0b30376d7846113f06f26120/packages/protocol/src/lib/engine-output.ts#L34)

* * *

### sessionId

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

Defined in: [packages/protocol/src/lib/engine-output.ts:11](https://github.com/maelstrom-co/maelstrom/blob/89a8f5e9d10cedcf0b30376d7846113f06f26120/packages/protocol/src/lib/engine-output.ts#L11)

#### Inherited from

[`EngineOutputBase`](https://docs.maelstrom-ai.co/dev/reference/protocol/interfaces/engineoutputbase/).[`sessionId`](https://docs.maelstrom-ai.co/dev/reference/protocol/interfaces/engineoutputbase/#sessionid)

* * *

### type

> `readonly` **type**: `"assistant_message_result"`

Defined in: [packages/protocol/src/lib/engine-output.ts:33](https://github.com/maelstrom-co/maelstrom/blob/89a8f5e9d10cedcf0b30376d7846113f06f26120/packages/protocol/src/lib/engine-output.ts#L33)
