@squidcloud/client
    Preparing search index...

    Interface AiChatMessage

    A history entry for a chat.

    interface AiChatMessage {
        agentId: string;
        appId: string;
        id: string;
        memoryId: string;
        message: string;
        source: "user" | "ai";
        timestamp: number;
    }
    Index

    Properties

    agentId: string

    The ID of the agent that owns the history.

    appId: string

    Agent's application.

    id: string

    ID of the entry. Unique per agent.

    memoryId: string

    A memory (history) ID associated with the chat conversation.

    message: string

    The text of the entry: a user's prompt or an AI-generated response.

    source: "user" | "ai"

    The source of the message: a user or an AI.

    timestamp: number

    Time the entry is created. Unix time millis.