Langfuse JS/TS SDKs
    Preparing search index...

    Interface LangfuseClientParams

    Configuration parameters for initializing a LangfuseClient instance.

    interface LangfuseClientParams {
        additionalHeaders?: Record<string, string>;
        baseUrl?: string;
        publicKey?: string;
        secretKey?: string;
        timeout?: number;
    }
    Index

    Properties

    additionalHeaders?: Record<string, string>

    Additional HTTP headers to include with API requests.

    baseUrl?: string

    Base URL of the Langfuse instance to connect to. Can also be provided via LANGFUSE_BASE_URL environment variable.

    "https://cloud.langfuse.com"
    
    publicKey?: string

    Public API key for authentication with Langfuse. Can also be provided via LANGFUSE_PUBLIC_KEY environment variable.

    secretKey?: string

    Secret API key for authentication with Langfuse. Can also be provided via LANGFUSE_SECRET_KEY environment variable.

    timeout?: number

    Request timeout in seconds. Can also be provided via LANGFUSE_TIMEOUT environment variable.

    5