openlit configure.
Configure once
KEY=VALUE file to:
- Linux / macOS -
~/.config/openlit/config.env(honors$XDG_CONFIG_HOME) - Windows -
%APPDATA%\openlit\config.env
0600 (owner-readable only).
To inspect the effective configuration without writing anything - including which source each value came from - use --show:
configure flags
Precedence
Settings resolve highest-to-lowest:- CLI flags (
--endpoint,--api-key, …) OPENLIT_*environment variablesOTEL_EXPORTER_OTLP_*environment variables (standard OpenTelemetry fallback)- Config file (
~/.config/openlit/config.env, allow-listed keys only) - Built-in defaults
OTEL_EXPORTER_OTLP_* setup.
Environment variables
Content capture modes
OPENLIT_CODING_CONTENT_CAPTURE controls how much of each coding-agent interaction is captured. Tier-1 secret redaction runs on every export regardless of mode.
Endpoint normalization
The CLI accepts scheme-less,http://, or https:// endpoints, with or without a path/trailing slash. For non-loopback hosts it auto-upgrades plain http:// to https://. Loopback and private-range hosts (localhost, 127.0.0.1, ::1, 10.*, 192.168.*, 172.16–31.*, 169.254.*) are left on http://.
Next steps
Command reference
Every command, subcommand, and flag
Wire your coding agents
The end-to-end setup guide

