Follow Discord
Sweep 22 Sep 2026 · 17:19Z Build v2.1.280 501 read Stable v2.1.267 Latest v2.1.280 Next v2.1.280 Feeds RSS JSON llms.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

TierUnder the hoodhow much it should matter to you
Useful2my rating, 1 to 5
Signal1worth watching, 1 to 5
AreaInternalswhat it touches
KindInternal Changesin v2.1.273,
Under the hood

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

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