Skip to main content
The SDK reads the following environment variables. All are optional, and each can be overridden by the equivalent Client constructor option, which takes precedence over its environment variable.

Configuration

VariableDescriptionDefaultOverride option
HH_API_KEYAPI key for authenticating with HoneyHive.None (required)apiKey
HH_DATA_PLANE_URLBase URL for the Data Plane API.https://api.dp1.us.honeyhive.aidataPlaneUrl
HH_VERBOSESet to "true" (case-insensitive) to log the resolved data plane URL, a masked API key, and the SDK version on construction.falseverbose
An empty string is treated the same as unset, so HH_API_KEY= node script.js falls back to the default (or errors, for the required API key).
There is no HONEYHIVE_* prefix in the TypeScript SDK. Unlike the Python SDK, only the HH_* names above are recognized.