• Parameters

    • index_id: string

      The UUID of the index to query.

    • Optionaloptions: {
          query?: {
              advanced?: "true" | "false";
              bypass_visible_to?: "true" | "false";
              filter_principal_sets?: string;
              limit?: number | `${number}`;
              offset?: number | `${number}`;
              q: string;
              result_format_version?: string;
          };
      } & {
          headers?: Headers;
          query?: {
              [key: string]: | undefined
              | null
              | string
              | number
              | boolean
              | (undefined | null | string | number)[];
          };
      }
      • Optionalquery?: {
            advanced?: "true" | "false";
            bypass_visible_to?: "true" | "false";
            filter_principal_sets?: string;
            limit?: number | `${number}`;
            offset?: number | `${number}`;
            q: string;
            result_format_version?: string;
        }
      • Optionalheaders?: Headers
      • Optionalquery?: {
            [key: string]:
                | undefined
                | null
                | string
                | number
                | boolean
                | (undefined | null | string | number)[];
        }
    • OptionalsdkOptions: SDKOptions

    Returns Promise<JSONFetchResponse<GSearchResult>>