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.273 ·

New per-request headers naming the caller's agent type and request class

API requests now carry two new headers identifying the request's class and the calling agent type

Under the hood Internal Changes
JSON All of v2.1.273
Under the hoodTier: how much it should matter to you
2Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
InternalsArea: what it touches
Internal ChangesKind: in v2.1.273,
Internal ChangesSection of the release
What

Requests the CLI sends to Anthropic's API now include two additional headers: x-claude-code-request-class and x-claude-code-agent-type. Both are computed by helper functions that classify the request, for example as compaction, workflow, teammate, or custom, and are added to the default headers sent with every model call.

Why

This lets requests be tagged with what kind of request they are and what kind of agent made them, which is metadata rather than something that changes what a user sees.

How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's release notes agreeAdded x-claude-code-request-class, x-claude-code-agent-type, x-claude-code-prev-tool-durations, x-claude-code-compaction and…

See this entry in the whole of v2.1.273 →

Feedback