OptionaladditionalAdditional HTTP headers to include with API requests.
OptionalbaseBase URL of the Langfuse instance to connect to, e.g.
https://cloud.langfuse.com (EU), https://us.cloud.langfuse.com (US), https://jp.cloud.langfuse.com (Japan), https://hipaa.cloud.langfuse.com (HIPAA),
or your self-hosted URL, https://jp.cloud.langfuse.com (Japan), https://hipaa.cloud.langfuse.com (HIPAA).
OptionalpublicPublic API key for authentication with Langfuse. Can also be provided via LANGFUSE_PUBLIC_KEY environment variable.
OptionalsecretSecret API key for authentication with Langfuse. Can also be provided via LANGFUSE_SECRET_KEY environment variable.
OptionaltimeoutRequest timeout in seconds for each HTTP request made by the SDK managers:
score ingestion (langfuse.score), prompt management (langfuse.prompt,
unless fetchTimeoutMs is passed to get) and media resolution
(langfuse.media). Retried requests get the timeout per attempt.
Can also be provided via LANGFUSE_TIMEOUT environment variable.
Direct langfuse.api.* calls do not use this value; pass
{ timeoutInSeconds } as request options per call instead.
Configuration parameters for initializing a LangfuseClient instance.