HoneyHive TypeScript API SDK
    Preparing search index...

    Type Alias GetExperimentComparisonResponse

    Comparison between two experiment runs including metrics, common datapoints, and event details

    type GetExperimentComparisonResponse = {
        commonDatapoints: string[];
        event_details: {
            event_name: string;
            event_type: string;
            presence: "old" | "new" | "both";
        }[];
        metrics: {
            difference?: number;
            metric_name: string;
            metric_type?: string;
            new_aggregate?: number;
            old_aggregate?: number;
            percentage_change?: number;
        }[];
        new_run: {
            configuration: { [key: string]: unknown };
            created_at: string;
            dataset_id?: string | null;
            description?: string | null;
            event_ids: string[];
            id: string;
            is_active: boolean;
            metadata: { [key: string]: unknown };
            metrics?: { [key: string]: number };
            name?: string | null;
            results: { [key: string]: unknown };
            run_id: string;
            scope_id: string;
            scope_type: string;
            status?: string | null;
            updated_at?: string | null;
        };
        old_run: {
            configuration: { [key: string]: unknown };
            created_at: string;
            dataset_id?: string | null;
            description?: string | null;
            event_ids: string[];
            id: string;
            is_active: boolean;
            metadata: { [key: string]: unknown };
            metrics?: { [key: string]: number };
            name?: string | null;
            results: { [key: string]: unknown };
            run_id: string;
            scope_id: string;
            scope_type: string;
            status?: string | null;
            updated_at?: string | null;
        };
    }
    Index

    Properties

    commonDatapoints: string[]
    event_details: {
        event_name: string;
        event_type: string;
        presence: "old" | "new" | "both";
    }[]
    metrics: {
        difference?: number;
        metric_name: string;
        metric_type?: string;
        new_aggregate?: number;
        old_aggregate?: number;
        percentage_change?: number;
    }[]
    new_run: {
        configuration: { [key: string]: unknown };
        created_at: string;
        dataset_id?: string | null;
        description?: string | null;
        event_ids: string[];
        id: string;
        is_active: boolean;
        metadata: { [key: string]: unknown };
        metrics?: { [key: string]: number };
        name?: string | null;
        results: { [key: string]: unknown };
        run_id: string;
        scope_id: string;
        scope_type: string;
        status?: string | null;
        updated_at?: string | null;
    }
    old_run: {
        configuration: { [key: string]: unknown };
        created_at: string;
        dataset_id?: string | null;
        description?: string | null;
        event_ids: string[];
        id: string;
        is_active: boolean;
        metadata: { [key: string]: unknown };
        metrics?: { [key: string]: number };
        name?: string | null;
        results: { [key: string]: unknown };
        run_id: string;
        scope_id: string;
        scope_type: string;
        status?: string | null;
        updated_at?: string | null;
    }