IGPAPI
    Preparing search index...

    Interface TypeaheadSearchInput

    interface TypeaheadSearchInput {
        lat?: number;
        lng?: number;
        query: string;
        session?: {
            clientUuidRankToken?: string;
            searchSessionId: string;
            serpSessionId?: string;
            typeaheadSessionId?: string;
        };
    }
    Index

    Properties

    Properties

    lat?: number

    Optional coarse location; sent as lat/lng, null when absent.

    lng?: number
    query: string
    session?: {
        clientUuidRankToken?: string;
        searchSessionId: string;
        serpSessionId?: string;
        typeaheadSessionId?: string;
    }

    Search session carrying the shared search_session_id. Optional: when absent the leg starts its own session (withTypeaheadSession), so the method is usable standalone — search.search threads the same session from its typeahead leg into the SERP leg.