> ## Documentation Index
> Fetch the complete documentation index at: https://docs.honeyhive.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Environment Variables

> Configure the HoneyHive TypeScript API client with environment variables for API keys, data plane URLs, and request timeouts in Node or browser apps.

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

| Variable            | Description                                                                                                                   | Default                           | Override option |
| ------------------- | ----------------------------------------------------------------------------------------------------------------------------- | --------------------------------- | --------------- |
| `HH_API_KEY`        | API key for authenticating with HoneyHive.                                                                                    | None (required)                   | `apiKey`        |
| `HH_DATA_PLANE_URL` | Base URL for the Data Plane API.                                                                                              | `https://api.dp1.us.honeyhive.ai` | `dataPlaneUrl`  |
| `HH_VERBOSE`        | Set to `"true"` (case-insensitive) to log the resolved data plane URL, a masked API key, and the SDK version on construction. | `false`                           | `verbose`       |

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).

<Note>
  There is no `HONEYHIVE_*` prefix in the TypeScript SDK. Unlike the Python SDK, only the `HH_*` names above are recognized.
</Note>
