Theia API Documentation v1.76.0
    Preparing search index...

    Chat session detail as exposed by the external session detail endpoint.

    interface ExternalChatSessionDetail {
        agentId?: string;
        agentName?: string;
        id: string;
        lastInteraction?: number;
        messages?: ExternalChatMessage[];
        parentSessionId?: string;
        preview?: string;
        restored: boolean;
        rootSessionId?: string;
        status: ChatSessionStatus;
        title?: string;
        workspace?: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    agentId?: string

    ID of the agent driving the session, or undefined if no agent is pinned to the session.

    agentName?: string

    Human-readable name of the agent driving the session, or undefined if no agent is pinned or the agent is not registered.

    id: string
    lastInteraction?: number

    Timestamp in milliseconds since epoch of the last interaction with the session.

    messages?: ExternalChatMessage[]

    The session's conversation reduced to plain-text messages, oldest first. Absent when the session is not restored (see ExternalChatSessionSummary.restored).

    parentSessionId?: string

    ID of the session that delegated this one, or undefined for a top-level session. Delegated sessions are listed alongside top-level ones; use this to group them.

    preview?: string

    The last few lines of the conversation as plain text, or undefined for an empty conversation.

    restored: boolean

    Whether the session is restored (live) in a connected frontend. Sessions that are only persisted report metadata only: their status is reduced to idle or failed and they carry neither a preview nor messages until they are restored.

    rootSessionId?: string

    ID of the topmost session of the delegation chain, or undefined for a top-level session.

    title?: string
    workspace?: string

    URI of the workspace the session belongs to, or undefined if its frontend has no open workspace. Also undefined for not-restored sessions when sessions are persisted globally, as the global session store holds sessions saved from any workspace.