Answer: An LLM gateway must forward `anthropic-version` and `anthropic-beta` unchanged, plus `anthropic-workspace-id` when the upstream is the Claude Platform on AWS, and also forward `Authorization` when the gateway authenticates to Anthropic with the developer's claude.ai login and not a key of its own. Status: Confirmed Entry: tool/claude-code/integrations/gateway-request-headers Revision: 2 Digest: sha256:173577d592d0b8ad (changes whenever the content changes) Timeline: Created: 2026-11-13T03:04:31Z Last changed: 2026-11-16T12:09:50Z (API version: — → 2023-06-01) Last verified: 2026-11-20T12:21:44Z Next check: 2026-11-21T12:21:44Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of required headers | anthropic-version | [1] | 2026-11-20 conditional header (Claude Platform on AWS) | anthropic-workspace-id | [1] | 2026-11-20 conditional header (claude.ai login) | Authorization | [1] | 2026-11-20 API version | 2023-06-01 | [1] | 2026-11-20 Sources: [1] Anthropic. "Claude Code gateway compatibility guide". https://code.claude.com/docs/en/llm-gateway-protocol.md Role: primary. Accessed: 2026-11-20T12:21:44Z Quote: "Forward `anthropic-version` and `anthropic-beta` unchanged" (Supports: required headers) Quote: "plus `anthropic-workspace-id` when the upstream is the [Claude Platform on AWS]" (Supports: conditional header (Claude Platform on AWS)) Quote: "Also forward `Authorization` when your gateway authenticates to Anthropic with the developer's claude.ai login and not a key of its own." (Supports: conditional header (claude.ai login)) Quote: "API version, currently `2023-06-01`" (Supports: API version) Published: 2026-11-20T02:52:11Z Snapshot SHA-256: 69d37ce069cd6825d247359e759779d435bac199a3b4c690d33789700fdeca32 (captured 2026-11-17T12:27:05Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-17T12:27:05Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T12:21:44Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:21:44Z Last attempt: 2026-11-20T12:21:44Z Notes and limitations: Extracted automatically from a single official source (section "Request headers"). Related: https://latestn.com/tool/claude-code/integrations/gateway-supported-api-formats Which API formats does a gateway need to support for Claude Code to work with it? https://latestn.com/tool/claude-code/integrations/ghes-supported-features Which Claude Code features support GitHub Enterprise Server and how do they differ from github.com? https://latestn.com/tool/claude-code/integrations/github-actions-cloud-provider-input How do I configure Claude Code GitHub Actions to use Amazon Bedrock, Google Cloud's Agent Platform, or Microsoft Foundry instead of the Claude API? https://latestn.com/tool/claude-code/integrations/expose-reply-tool How do I expose a reply tool so Claude can send messages back through a Claude Code channel? https://latestn.com/tool/claude-code/integrations/features-by-provider Which Claude Code features are available on Amazon Bedrock, Google Cloud's Agent Platform, or Microsoft Foundry? https://latestn.com/tool/claude-code/integrations/flush-telemetry-short-lived-calls How do I flush telemetry from short-lived Claude Agent SDK calls? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-16T12:09:50Z | changed | API version: — → 2023-06-01 | [1] 2026-11-16T12:09:50Z | changed | conditional header (claude.ai login): — → Authorization | [1] 2026-11-16T12:09:50Z | changed | conditional header (Claude Platform on AWS): — → anthropic-workspace-id | [1] 2026-11-16T12:09:50Z | changed | required headers: — → anthropic-version | [1] 2026-11-16T12:09:50Z | changed | API version value: 2023-06-01 → — | [1] 2026-11-16T12:09:50Z | changed | Conditional header (claude.ai login): Authorization → — | [1] 2026-11-16T12:09:50Z | changed | Conditional header (Claude Platform on AWS): anthropic-workspace-id → — | [1] 2026-11-16T12:09:50Z | changed | Required headers: anthropic-version → — | [1] 2026-11-13T03:04:31Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/claude-code/integrations/gateway-request-headers/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/claude-code/integrations/gateway-request-headers POST: https://latestn.com/dispute/tool/claude-code/integrations/gateway-request-headers with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/claude-code/integrations/gateway-request-headers?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). Which request headers must an LLM gateway forward for Claude Code to work correctly? Revision 2, last verified 2026-11-20T12:21:44Z. https://latestn.com/tool/claude-code/integrations/gateway-request-headers (accessed 2026-11-21T09:53:04Z). @misc{LatestN_tool_claude_code_integrations_gateway_request_headers_r2, title = {Which request headers must an LLM gateway forward for Claude Code to work correctly?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/claude-code/integrations/gateway-request-headers}}, note = {Revision 2; digest sha256:173577d592d0b8ad; last verified 2026-11-20T12:21:44Z; accessed 2026-11-21T09:53:04Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/claude-code/integrations/gateway-request-headers