Skip to main content
Version: Beta

AssistantSubscribeMessageStreamEvent

description

A streaming event emitted during reconnection. Contains replayed and/or live events.

type AssistantSubscribeMessageStreamEvent {
streamContext: AssistantAskQuestionContext
batch: [AssistantAskQuestionEventBatch!]
}

Fields

AssistantSubscribeMessageStreamEvent.streamContext ● AssistantAskQuestionContext object graph-ql-types

Stream context containing conversation and message identifiers to properly route and apply delta updates. Required for clients to associate streaming events with the correct conversation state. @exposed

AssistantSubscribeMessageStreamEvent.batch ● [AssistantAskQuestionEventBatch!] list object graph-ql-types

Collection of batched events containing both raw backend events and their corresponding structured deltas. Batching improves performance and prevents event loss during high-throughput streaming scenarios. @exposed

Returned By

externalSubscribeMessage subscription