Langfuse JS/TS SDKs
    Preparing search index...

    Interface TraceWithFullDetails

    This file was auto-generated by Fern from our API Definition.

    interface TraceWithFullDetails {
        environment: string;
        htmlPath: string;
        id: string;
        input?: unknown;
        latency?: null | number;
        metadata?: unknown;
        name: null | string;
        observations: ObservationsView[];
        output?: unknown;
        public: boolean;
        release: null | string;
        scores: ScoreV1[];
        sessionId: null | string;
        tags: string[];
        timestamp: string;
        totalCost?: null | number;
        userId: null | string;
        version: null | string;
    }

    Hierarchy (View Summary)

    • Trace
      • TraceWithFullDetails
    Index

    Properties

    environment: string

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

    htmlPath: string

    Path of trace in Langfuse UI

    id: string

    The unique identifier of a trace

    input?: unknown

    The input data of the trace. Can be any JSON.

    latency?: null | number

    Latency of trace in seconds

    metadata?: unknown

    The metadata associated with the trace. Can be any JSON.

    name: null | string

    The name of the trace

    observations: ObservationsView[]

    List of observations

    output?: unknown

    The output data of the trace. Can be any JSON.

    public: boolean

    Public traces are accessible via url without login

    release: null | string

    The release version of the application when the trace was created

    scores: ScoreV1[]

    List of scores

    sessionId: null | string

    The session identifier associated with the trace

    tags: string[]

    The tags associated with the trace.

    timestamp: string

    The timestamp when the trace was created

    totalCost?: null | number

    Cost of trace in USD

    userId: null | string

    The user identifier associated with the trace

    version: null | string

    The version of the trace