Source Intelligence
Sweep 28 Aug 2026 · 16:06Z Build v2.1.251 479 read Stable v2.1.236 Latest v2.1.251 Next v2.1.251 Feeds RSS JSON llms.txt

DisclaimerUnofficial, and not affiliated with Anthropic. Nearly all of this is read straight out of what ships: npm bundles, captured prompts, published docs. Anthropic's own notes go in verbatim, marked as theirs. The rest is my reading, and every entry carries the strings behind it. If one looks wrong, vote it down and say why.

Search the documentation

10 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 …hell you dispatch from, it reaches that session's worker, along with `ANTHROPIC_CUSTOM_HEADERS` and the credential exported alongside them, when both conditions hold: * The supervisor was started fro… 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 …sandbox isolation to require approval before they apply * Changed `ANTHROPIC_CUSTOM_HEADERS` from managed or project settings to require approval when it sets a credential, org/tenant, routing, or… 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 …| | `Invalid ANTHROPIC_CUSTOM_HEADERS · Fix the environment variable`… 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… Gateway protocol reference 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. ### Forward as open lists Treat the headers and body fields… Roll out an LLM gateway for your organization Claude Code CLI · in the page llm-gateway-rollout …| | `ANTHROPIC_CUSTOM_HEADERS`… 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… 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 cred…