ANT_CLAUDE_CODE_METRICS_ENDPOINT
A Claude Code environment variable, read out of the shipped bundle. It has been in the build since v2.1.160, including the newest one read.
What it is
Nobody has written a line about this one. It is not in any of Anthropic's reference tables and no changelog entry here carries a description of it. It is in the build, which is the whole of what this page can claim.
Presence across releases
| Releases | Reading | Declared type | Default |
|---|---|---|---|
| 2.1.245 – 2.1.250 5 releases | never mined | — | — |
| 2.1.160 – 2.1.243 75 releases | in the build | str | — |
A row reading never mined is a release with no archived bundle behind it. Nothing was read out of it, so nothing here says whether the name was in it. A declared type or a default is only ever what that release's own bundle stated.
Changelog entries naming it
No changelog entry here has ever named it. That is a statement about what has been written, not about the name: it has been in the build since v2.1.160 without anybody writing a line about it.
Documentation pages
None of Anthropic's documentation pages this site has a copy of carries this name.
Names beside it
Every environment variable in the inventory starting ant, up to twelve of them.
ANT_OTEL_EXPORTER_OTLP_ENDPOINTNo description from anybody. 2.1.160
ANT_OTEL_EXPORTER_OTLP_HEADERSNo description from anybody. 2.1.160
ANT_OTEL_EXPORTER_OTLP_PROTOCOLNo description from anybody. 2.1.160
ANT_OTEL_LOGS_EXPORTERNo description from anybody. 2.1.160
ANT_OTEL_METRICS_EXPORTERNo description from anybody. 2.1.160
ANT_OTEL_RESOURCE_ATTRIBUTESNo description from anybody. 2.1.160
ANT_OTEL_TRACES_EXPORTERNo description from anybody. 2.1.160
ANTHROPIC_API_KEYAPI key sent as X-Api-Key header. When set, this key is used instead of your Claude Pro, Max, Team, or Enterprise subscription even if you are logged in. In non-interactive mode (-p), the key is always used when present. In interactive mode, you are prompted to approve the key once before it overrides your subscription. To use your subscription instead, run unset ANTHROPIC_API_KEY 2.1.138
ANTHROPIC_AUTH_TOKENCustom value for the Authorization header (the value you set here will be prefixed with Bearer ) 2.1.138
ANTHROPIC_AWS_API_KEYWorkspace API key for [Claude Platform on AWS](/docs/en/claude-platform-on-aws), generated in the AWS Console. Sent as x-api-key and takes precedence over AWS SigV4 2.1.138
ANTHROPIC_AWS_BASE_URLOverride the [Claude Platform on AWS](/docs/en/claude-platform-on-aws) endpoint URL. Use for custom regions or when routing through an [LLM gateway](/docs/en/llm-gateway). Defaults to https://aws-external-anthropic.{region}.api.aws. Claude Code resolves the region with the [same precedence as on Amazon Bedrock](/docs/en/amazon-bedrock#3-configure-claude-code) 2.1.138
ANTHROPIC_AWS_WORKSPACE_IDRequired for [Claude Platform on AWS](/docs/en/claude-platform-on-aws). Sent on every request as the anthropic-workspace-id header 2.1.138
Read out of the published npm bundle release by release, and out of Anthropic's own documentation as this site captured it. Nothing on this page is a description anybody here wrote about what the environment variable does. All environment variables.