Claude API Message Threads Beta Lets Agents Send Only the New Messages

Anthropic's Messages API has a new message threads beta: send the full conversation once, then only the new messages per turn. Threads expire after 5 minutes idle and are not ZDR-eligible.

November 1, 2026

Anthropic’s docs describe a beta feature called message threads, enabled with the beta header message-threads-2026-08-12. You add one parameter, thread, to a Messages API request. The first request sends the full conversation, system prompt and tools with {"type": "create"}. Each later turn sends only the new messages and the id of the previous response with {"type": "continue", ...}, and leaves system and tools out. The docs say this keeps requests smaller and time to first token lower and steadier in long agent loops, because the API no longer validates and tokenizes the whole conversation each turn.

Threads are best-effort. A thread expires 5 minutes after its last request and is deleted within 1 hour of last use, and a continue request on a lost thread returns a 404, so your app must keep its own copy and be able to replay the conversation. The SDK has a thread helper that does the replay. The data is held in memory, encrypted, and the page marks the feature as not zero-data-retention eligible. Separately, the API release notes for October 28 raise the maximum request size from 32 MB to 128 MB.

Why it matters

  • Cheaper long loops: coding and support agents that run dozens of turns re-upload the entire history today.
  • Design cost: you must write the replay path, since the API does not tell you whether a turn was stored.

Source

Summary written by FoxaMind with AI assistance from the sources above. Check the originals for full details.