AAI SDK
    Preparing search index...

    Type Alias BaseOptions

    BaseOptions: Pick<
        VoiceSessionOptions,
        "onSessionId"
        | "resumeSessionId"
        | "WebSocket",
    > & {
        platformUrl?: string;
        target?: string | HTMLElement;
        theme?: ClientTheme;
    }

    Options shared by both client tiers (config-only and custom component).

    The session-forwarded fields are picked from VoiceSessionOptions (one source of truth for types and docs) rather than re-declared — a re-declared copy is exactly how doc comments drift.

    Type Declaration

    • OptionalplatformUrl?: string

      Base URL of the AAI platform server. Derived from location.href by default.

    • Optionaltarget?: string | HTMLElement

      CSS selector or DOM element to render into. Defaults to "#app".

    • Optionaltheme?: ClientTheme

      Theme color overrides.