Langfuse JS/TS SDKs
    Preparing search index...

    Interface Experiment

    interface Experiment {
        datasetId: null | string;
        description: null | string;
        endTime: string;
        id: string;
        itemCount: number;
        metadata?: null | Record<string, unknown>;
        name: string;
        scores?: ScoreV3[];
        startTime: string;
    }
    Index

    Properties

    datasetId: null | string

    Null when the experiment is not associated with a dataset.

    description: null | string
    endTime: string

    End of the experiment, i.e. the latest event end within the requested time range.

    id: string
    itemCount: number

    Number of experiment items within the requested time range.

    metadata?: null | Record<string, unknown>

    Included only when fields=metadata is requested.

    name: string
    scores?: ScoreV3[]

    Included only when fields=scores is requested. Contains scores directly attached to the experiment.

    startTime: string

    Start of the experiment, i.e. the earliest event within the requested time range. Clipped to fromStartTime when the experiment started before the requested range.