Langfuse JS/TS SDKs
    Preparing search index...

    Interface BooleanScoreV1

    interface BooleanScoreV1 {
        authorUserId: null | string;
        comment: null | string;
        configId: null | string;
        createdAt: string;
        environment: string;
        id: string;
        metadata?: unknown;
        name: string;
        observationId?: null | string;
        queueId: null | string;
        source: ScoreSource;
        stringValue: string;
        timestamp: string;
        traceId: string;
        updatedAt: string;
        value: number;
    }

    Hierarchy (View Summary)

    Index

    Properties

    authorUserId: null | string

    The user ID of the author

    comment: null | string

    Comment on the score

    configId: null | string

    Reference a score config on a score. When set, config and score name must be equal and value must comply to optionally defined numerical range

    createdAt: string
    environment: string

    The environment from which this score originated. Can be any lowercase alphanumeric string with hyphens and underscores that does not start with 'langfuse'.

    id: string
    metadata?: unknown

    Metadata associated with the score

    name: string
    observationId?: null | string

    The observation ID associated with the score

    queueId: null | string

    The annotation queue referenced by the score. Indicates if score was initially created while processing annotation queue.

    source: ScoreSource
    stringValue: string

    The string representation of the score value. Is inferred from the numeric value and equals "True" or "False"

    timestamp: string
    traceId: string
    updatedAt: string
    value: number

    The numeric value of the score. Equals 1 for "True" and 0 for "False"