SearchAnalytics:
    | {
        filter?: SearchAnalyticsFilter | null;
        granularity?: Granularity | null;
        type: "latency_graph";
    }
    | {
        filter?: SearchAnalyticsFilter | null;
        granularity?: Granularity | null;
        type: "search_usage_graph";
    }
    | {
        filter?: SearchAnalyticsFilter | null;
        type: "search_metrics";
    }
    | {
        filter?: SearchAnalyticsFilter | null;
        page?: number | null;
        type: "head_queries";
    }
    | {
        filter?: SearchAnalyticsFilter | null;
        page?: number | null;
        threshold?: number | null;
        type: "low_confidence_queries";
    }
    | {
        filter?: SearchAnalyticsFilter | null;
        page?: number | null;
        type: "no_result_queries";
    }
    | {
        filter?: SearchAnalyticsFilter | null;
        page?: number | null;
        sort_by?: SearchSortBy | null;
        sort_order?: SortOrder | null;
        type: "search_queries";
    }
    | {
        filter?: SearchAnalyticsFilter | null;
        type: "count_queries";
    }
    | {
        request_id: string;
        type: "query_details";
    }
    | {
        filter?: SearchAnalyticsFilter | null;
        type: "popular_filters";
    }