Follow Discord
Sweep 10 Nov 2026 · 02:18Z Build v2.1.322 539 read Stable v2.1.311 Latest v2.1.322 Next v2.1.322 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.283 ·

Requests can now carry a prompt id header for gateways

API requests can carry a new x-claude-code-prompt-id header naming the prompt behind them, under the same rule as other gateway hint headers

You'll notice Notable New Features
JSON All of v2.1.283
You'll noticeTier: how much it should matter to you
4Useful: my rating, 1 to 5
3Signal: worth watching, 1 to 5
GatewayArea: what it touches
New FeaturesKind: in v2.1.283,
What probably matters to youSection of the release

Unclear It is not clear that any request Claude Code makes actually supplies a prompt id yet.

What

Claude Code can now attach a new header, x-claude-code-prompt-id, to its API requests. A header is a small labelled value sent along with a request. This one holds an id for the prompt that led to the request. It is only sent when that id passes a format check.

It follows the same rule as the existing gateway hint headers:

  • CLAUDE_CODE_GATEWAY_HINT_HEADERS decides whether it is sent, when that variable is set.
  • Without that variable, it is not sent to third-party providers such as Amazon Bedrock.
  • On a direct connection to Anthropic, it depends on an internal condition. Failing that, it depends on a remote setting that is off unless it is switched on remotely.
Why

A gateway is a proxy that sits between Claude Code and the model provider. The header lets a gateway, or the API, link every request back to the prompt that caused it.

Read from
Names in the bundlex-claude-code-prompt-id
Feature flag
tengu_splendid_sutton Not enough to say

Nothing here resolved what this flag was doing on this version, so nothing here should be read as on or off.

This account: no value returned · anonymous baseline: no value returned · compiled default in v2.1.283: off

These values were read against a different version of Claude Code, so treat them as the nearest reading available instead of one taken on this release.

Read once, for one account on one subscription tier, against v2.1.283. It isn't a statement about your account. What a flag value here can and cannot tell you

Since it was published

The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.

Confirmed since Anthropic's documentation has since written up x-claude-code-prompt-id, on Claude Code gateway compatibility guide. | `x-claude-code-prompt-id` | Random UUID that identifies the user prompt a request serves. Requests serving one prompt share the value, including the turns of subagents that prompt started. Requests not attributed to a prompt omit it. Use… llm-gateway-protocol see the edit
How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtIt is not clear that any request Claude Code makes actually supplies a prompt id yet.
Anthropic's documentation agreesAnthropic's documentation has since written up x-claude-code-prompt-id, on Claude Code gateway compatibility guide.
Anthropic's release notes agreeAdded x-claude-code-prompt-id to the gateway hint headers so LLM gateways can group the requests that serve one user prompt; opt in with…

See this entry in the whole of v2.1.283 →

Feedback