ADK TypeScript Documentation - v0.0.4
    Preparing search index...

    Interface Session

    Represents a conversation session

    interface Session {
        createdAt: Date;
        id: string;
        messages: Message[];
        metadata: Record<string, any>;
        state: SessionState;
        updatedAt: Date;
        userId: string;
    }
    Index

    Properties

    createdAt: Date

    Session creation timestamp

    id: string

    Unique session identifier

    messages: Message[]

    Conversation history

    metadata: Record<string, any>

    Additional session metadata

    Session state for storing arbitrary data

    updatedAt: Date

    Last update timestamp

    userId: string

    User identifier associated with the session