Langfuse JS/TS SDKs
    Preparing search index...
    interface RequestOptions {
        abortSignal?: AbortSignal;
        headers?: Record<string, Supplier<undefined | string>>;
        maxRetries?: number;
        queryParams?: Record<string, unknown>;
        timeoutInSeconds?: number;
        xLangfusePublicKey?: string;
        xLangfuseSdkName?: string;
        xLangfuseSdkVersion?: string;
    }
    Index

    Properties

    abortSignal?: AbortSignal

    A hook to abort the request.

    headers?: Record<string, Supplier<undefined | string>>

    Additional headers to include in the request.

    maxRetries?: number

    The number of times to retry the request. Defaults to 2.

    queryParams?: Record<string, unknown>

    Additional query string parameters to include in the request.

    timeoutInSeconds?: number

    The maximum time to wait for a response in seconds.

    xLangfusePublicKey?: string

    Override the X-Langfuse-Public-Key header

    xLangfuseSdkName?: string

    Override the X-Langfuse-Sdk-Name header

    xLangfuseSdkVersion?: string

    Override the X-Langfuse-Sdk-Version header