Session
Properties
Section titled “Properties”activeAgentId?
Section titled “activeAgentId?”optional activeAgentId?: string;agentStates
Section titled “agentStates”agentStates: Record<string, AgentState>;channelId
Section titled “channelId”channelId: ChannelId;conversationId
Section titled “conversationId”conversationId: string;createdAt
Section titled “createdAt”createdAt: Date;currentAgent
Section titled “currentAgent”currentAgent: string;handoffHistory
Section titled “handoffHistory”handoffHistory: HandoffRecord[];id: string;messages
Section titled “messages”messages: ModelMessage[];metadata?
Section titled “metadata?”optional metadata?: SessionMetadata;state?
Section titled “state?”optional state?: Record<string, unknown>;updatedAt
Section titled “updatedAt”updatedAt: Date;userId?
Section titled “userId?”optional userId?: string;workingMemory
Section titled “workingMemory”workingMemory: Record<string, unknown>;