• 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]:
                  | string
                  | number
                  | boolean
                  | (
                      | string
                      | number
                      | null
                      | undefined)[]
                  | null
                  | undefined;
          };
      }
    • OptionalsdkOptions: SDKOptions

    Returns Promise<JSONFetchResponse<GSearchResult>>