Langfuse JS/TS SDKs
    Preparing search index...

    Type Alias LangfuseTraceAttributes

    Attributes for Langfuse traces.

    Traces are the top-level containers that group related observations together. They represent a complete workflow, request, or user interaction.

    type LangfuseTraceAttributes = {
        environment?: string;
        input?: unknown;
        metadata?: unknown;
        name?: string;
        output?: unknown;
        public?: boolean;
        release?: string;
        sessionId?: string;
        tags?: string[];
        userId?: string;
        version?: string;
    }
    Index

    Properties

    environment?: string

    Environment where the trace was captured

    input?: unknown

    Input data that initiated the trace

    metadata?: unknown

    Additional metadata for the trace

    name?: string

    Human-readable name for the trace

    output?: unknown

    Final output data from the trace

    public?: boolean

    Whether this trace should be publicly visible

    release?: string

    Release identifier for deployment tracking

    sessionId?: string

    Session identifier for grouping related traces

    tags?: string[]

    Tags for categorizing and filtering traces

    userId?: string

    Identifier for the user associated with this trace

    version?: string

    Version identifier for the code/application