Defined in: types.ts:917
Emitted to provide a snapshot of all messages in a conversation.
Unlike StateSnapshot (which carries arbitrary application state), MessagesSnapshot specifically delivers the conversation transcript. This is a first-class AG-UI event type.
messages: UIMessage[];
Defined in: types.ts:920
Complete array of messages in the conversation
optional model: string;
Defined in: types.ts:756
Model identifier for multi-model support
optional rawEvent: unknown;
Defined in: types.ts:758
Original provider event for debugging/advanced use cases
timestamp: number;
Defined in: types.ts:754
type: "MESSAGES_SNAPSHOT";
Defined in: types.ts:918