Use it now Notable
An enhanced-telemetry beta can be opted into with a newly recognized set of env vars.
A set of environment variable names, including CLAUDE_CODE_ENHANCED_TELEMETRY_BETA, is now recognized for opting into an enhanced-telemetry beta.
Names in the bundleCLAUDE_CODE_ENHANCED_TELEMETRY_BETA
Documented inclaude-code/agent-sdk/hosting
The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.
Confirmed since
Anthropic's documentation has since written up CLAUDE_CODE_ENHANCED_TELEMETRY_BETA, on Claude apps gateway configuration.
[Traces](/docs/en/monitoring-usage#traces-beta) also require `CLAUDE_CODE_ENHANCED_TELEMETRY_BETA=1` on each client. Set it in a managed policy's `env` block, since the gateway doesn't push it. Developers approve it in the same [security a…claude-apps-gateway-config see the edit
One source agreesOne thing we can check says the same as this entry.
Anthropic's documentation agrees
Anthropic's documentation has since written up CLAUDE_CODE_ENHANCED_TELEMETRY_BETA, on Claude apps gateway configuration.