{"name":"CLAUDE_CODE_API_BASE_URL","slug":"claude-code-api-base-url","family":"env","title":"Environment variables","noun":"environment variable","description":"Remote settings can now supply many more environment variables, including auth tokens and home directory paths.","description_source":"entry","described_by":{"version":"2.1.223","anchor":"remote-settings-env-allowlist-widened"},"presence":{"first_seen":"2.1.138","removed_in":null,"in_current_build":true,"newest_mined":"2.1.308","builds":149,"mined_builds":149,"first_cited":{"version":"2.1.285","released_at":"2026-09-29 17:32:09","spans":1}},"aliases":[],"entries":[{"version":"2.1.307","anchor":"artifact-and-api-base-url-env-vars-regrouped-into-shared-lis","heading":"Artifact and service address variables are now grouped in one list","line":"Claude Code now keeps the `CLAUDE_CODE_ARTIFACT*` variables in one list with several other server-address override variables","released_at":"2026-10-21 20:47:18","reason":"found in this entry's text"},{"version":"2.1.285","anchor":"env-var-redaction-filter-anthropic-unix-socket-aws-endpoin","heading":"Some endpoint environment variables are now treated differently by Claude Code","line":"A check on environment variable names now excludes `ANTHROPIC_UNIX_SOCKET` and `AWS_ENDPOINT_URL` names, and includes `CLAUDE_CODE_API_BASE_URL` only for files","released_at":"2026-09-29 17:32:09","reason":"found in this entry's text"},{"version":"2.1.223","anchor":"remote-settings-env-allowlist-widened","heading":"Remote-settings env allowlist widened","line":"Remote settings can now supply many more environment variables, including auth tokens and home directory paths.","released_at":"2026-08-05 22:51:13","reason":"named in this entry, found in this entry's text"}],"entries_total":3,"docs":[],"docs_total":0,"gates":[],"related":[{"name":"CLAUDE_CODE_API_KEY_FILE_DESCRIPTOR","slug":"claude-code-api-key-file-descriptor","description":"Auth tokens can now be handed to subprocesses over file descriptors instead of plaintext environment variables."},{"name":"CLAUDE_CODE_API_KEY_HELPER_TTL_MS","slug":"claude-code-api-key-helper-ttl-ms","description":"Interval in milliseconds at which credentials should be refreshed (when using [`apiKeyHelper`](\/docs\/en\/settings-reference#apikeyhelper))"}],"url":"https:\/\/changelogs.core-directive.com\/reference\/env\/claude-code-api-base-url","family_url":"https:\/\/changelogs.core-directive.com\/reference\/env.json"}