Skip to main content

Interface: ConversationState

Snapshot describing an active or previous conversation.

Properties

id

id: string;

Identifier assigned by the engine for subsequent interactions.


metadata?

optional metadata: Record<string, unknown>;

Metadata persisted across turns for custom engines.


previousResponseId?

optional previousResponseId: null | string;

Identifier of the last response returned to the caller.


provider?

optional provider: string;

Provider key describing the backing engine implementation.