# SPEAK_UTTERANCE_ID_ATTR
Source: https://docs.maelstrom-ai.co/0.2/reference/realtime-livekit/variables/speak_utterance_id_attr/
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.

> `const` **SPEAK\_UTTERANCE\_ID\_ATTR**: `"mae-utterance-id"` = `"mae-utterance-id"`

Defined in: packages/realtime-protocol/dist/lib/livekit-wire.d.ts:31

Attribute key carrying the utterance id on a `SPEAK_TOPIC` text stream. The client (which initiates each utterance) stamps a monotonic id here; the worker echoes it on the matching `TTS_TOPIC` status packet ([TtsDoneMessage](https://docs.maelstrom-ai.co/0.2/reference/realtime-livekit/interfaces/ttsdonemessage/) / [TtsErrorMessage](https://docs.maelstrom-ai.co/0.2/reference/realtime-livekit/interfaces/ttserrormessage/)) so the client can drop status for an utterance it has already barged past — a cancelled utterance’s late `tts_done` must not clear the client’s thinking fallback or move state, or the UI wedges in `thinking`.
