Anthropic adds on-demand compaction to Messages API
Anthropic's Messages API now supports on-demand conversation compaction in beta via the compact-2026-09-04 header. A compaction parameter returns a signed summary block you can send later instead of the original messages, while keeping recent turns verbatim.
Source: Claude Developer Platform release notes, checked Sep 28, 2026. Summarized from the provider’s announcement.