RAGAnalytics:
    | {
        filter?: RAGAnalyticsFilter | null;
        page?: number | null;
        sort_by?: RAGSortBy | null;
        sort_order?: SortOrder | null;
        type: "rag_queries";
    }
    | {
        filter?: RAGAnalyticsFilter | null;
        type: "rag_usage";
    }
    | {
        filter?: RAGAnalyticsFilter | null;
        granularity?: Granularity | null;
        type: "rag_usage_graph";
    }
    | {
        request_id: string;
        type: "rag_query_details";
    }