Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial
HomeDocsSearch
Search the documentation

12 pages for anthropic_custom_headers.

Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.

Manage multiple agents with agent view Claude Code CLI · in the page agent-view …ur shell instead, it reaches a background session, together with the `ANTHROPIC_CUSTOM_HEADERS` and credential you exported with it, only when the [supervisor](#the-supervisor-process) was itself star… Claude Code on Amazon Bedrock Claude Code CLI · in the page amazon-bedrock …iles. Example configuration: ```json theme={null} { "env": { "ANTHROPIC_CUSTOM_HEADERS": "X-Amzn-Bedrock-GuardrailIdentifier: your-guardrail-id\nX-Amzn-Bedrock-GuardrailVersion: 1" } } ```… Claude Code changelog Claude Code CLI · in the page changelog …` sending a different `Authorization` header than real requests when `ANTHROPIC_CUSTOM_HEADERS` repeats it * \[VSCode] Fixed settings dialogs blaming a timeout when Claude Code's reply was too large t… Environment variables Claude Code CLI · in the page env-vars …| | `ANTHROPIC_CUSTOM_HEADERS` | Custom headers to add to requests (`Name: Value` format, newline-separate… Error reference Claude Code CLI · in the page errors …token` | [Authentication](#invalid-request-header-value) | | `Invalid ANTHROPIC_CUSTOM_HEADERS · Fix the environment variable` | [Authentication](#invalid-request-header-value) | | `Invalid request he… Connect Claude Code to an LLM gateway Claude Code CLI · in the page llm-gateway-connect …Hub Actions](/docs/en/github-actions) reads `ANTHROPIC_BASE_URL` and `ANTHROPIC_CUSTOM_HEADERS` from the workflow's `env` block. Pass the credential as the action's `anthropic_api_key` input; the acti… Claude Code gateway compatibility guide Claude Code CLI · in the page llm-gateway-protocol …at the agent ID header as a user identifier. If your developers set `ANTHROPIC_CUSTOM_HEADERS`, those headers appear on requests as well. ### Gateway hint headers Claude Code can also send routing… Roll out an LLM gateway for your organization Claude Code CLI · in the page llm-gateway-rollout …Bearer` and `x-api-key` respectively | Always; one of the three | | `ANTHROPIC_CUSTOM_HEADERS` | Adds extra HTTP headers to every API request | Your gateway requires a tenant or routing header on eve… Connect Claude Code to tools via MCP Claude Code CLI · in the page mcp …credential variables whose names don't follow that pattern, such as `ANTHROPIC_CUSTOM_HEADERS`. When this applies to your helper, have the script read its credential from a file or a credential stor… Configure server-managed settings Claude Code CLI · in the page server-managed-settings …Before v2.1.248, any non-empty value triggered the dialog. Whether [`ANTHROPIC_CUSTOM_HEADERS`](/docs/en/env-vars#variables) needs approval also depends on the delivered value. Headers that only tag… Connect Claude Code to Claude for Government Claude Documentation · in the page government/deploy-claude-code/configure …"CLAUDE_CODE_DISABLE_OFFICIAL_MARKETPLACE_AUTOINSTALL": "1", "ANTHROPIC_CUSTOM_HEADERS": "", "CLAUDE_CODE_EXTRA_BODY": "", "NODE_TLS_REJECT_UNAUTHORIZED": "1", "NODE_EXTRA_CA_CERTS… Configuration reference Claude Documentation · in the page third-party/claude-desktop/configuration …n every inference and model-discovery request (joined into the CLI's `ANTHROPIC_CUSTOM_HEADERS`). > > Use this for fleet-wide, non-secret constants. **Do not put API keys, bearer tokens or other crede…
Feedback