IGPAPI
    Preparing search index...

    Function withSerpSession

    • Fills the SERP id when this search session has none yet (idempotent).

      Parameters

      • session: {
            clientUuidRankToken?: string;
            searchSessionId: string;
            serpSessionId?: string;
            typeaheadSessionId?: string;
        }

      Returns {
          clientUuidRankToken?: string;
          searchSessionId: string;
          serpSessionId: string;
          typeaheadSessionId?: string;
      }