Langfuse JS/TS SDKs
    Preparing search index...

    Interface CreateDatasetItemRequest

    interface CreateDatasetItemRequest {
        datasetName: string;
        expectedOutput?: unknown;
        id?: string;
        input?: unknown;
        metadata?: unknown;
        sourceObservationId?: string;
        sourceTraceId?: string;
        status?: DatasetStatus;
    }
    Index

    Properties

    datasetName: string
    expectedOutput?: unknown
    id?: string

    Dataset items are upserted on their id. Id needs to be unique (project-level) and cannot be reused across datasets.

    input?: unknown
    metadata?: unknown
    sourceObservationId?: string
    sourceTraceId?: string
    status?: DatasetStatus

    Defaults to ACTIVE for newly created items