# AssistantMessageOutcome
Source: https://docs.maelstrom-ai.co/dev/reference/client/type-aliases/assistantmessageoutcome/
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.

> **AssistantMessageOutcome** = `"inserted"` | `"deduped"`

Defined in: [packages/client/src/lib/connection-manager/connector.types.ts:590](https://github.com/maelstrom-co/maelstrom/blob/89a8f5e9d10cedcf0b30376d7846113f06f26120/packages/client/src/lib/connection-manager/connector.types.ts#L590)

Result of an acknowledged assistant-message insertion.

-   `inserted`: the engine appended the message to session history.
-   `deduped`: the engine already held a message with the same id, so it appended nothing.

Callers use this to decide whether side effects tied to the message (for example a caption or speech playback) already ran in a previous attempt. Greeting flows treat `deduped` without a retained `inserted` as “already handled” and suppress caption and speech for that greeting forever.
