HoneyHive TypeScript API SDK
    Preparing search index...

    Type Alias GetExperimentResultResponse

    Evaluation summary for an experiment run including pass/fail status, metrics, and datapoints

    type GetExperimentResultResponse = {
        datapoints: {
            datapoint_id?: string | null;
            metrics?: unknown[];
            passed: boolean;
            session_id: string;
        }[];
        error?: string;
        event_details: { event_name: string; event_type: string }[];
        failed: string[];
        metrics: {
            aggregation_function?: string;
            details?: {
                aggregate?: number;
                datapoints?: { failed: string[]; passed: string[] };
                event_name?: string;
                event_type?: string;
                metric_name: string;
                metric_type?: "COMPOSITE" | "PYTHON" | "LLM" | "HUMAN" | "CLIENT_SIDE";
                passing_range?: { max?: number; min?: number };
                values?: number[];
            }[];
        };
        passed: string[];
        run_object: {
            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;
        };
        status: string;
        success: boolean;
    }
    Index

    Properties

    datapoints: {
        datapoint_id?: string | null;
        metrics?: unknown[];
        passed: boolean;
        session_id: string;
    }[]
    error?: string
    event_details: { event_name: string; event_type: string }[]
    failed: string[]
    metrics: {
        aggregation_function?: string;
        details?: {
            aggregate?: number;
            datapoints?: { failed: string[]; passed: string[] };
            event_name?: string;
            event_type?: string;
            metric_name: string;
            metric_type?: "COMPOSITE" | "PYTHON" | "LLM" | "HUMAN" | "CLIENT_SIDE";
            passing_range?: { max?: number; min?: number };
            values?: number[];
        }[];
    }
    passed: string[]
    run_object: {
        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;
    }
    status: string
    success: boolean