If You Rely on Claude's Text Watermark, Check temperature in the Request Body, Not Your Code
Since November 16, text from Opus 4.6, Opus 4.5, Sonnet 4.5, and Haiku 4.5 carries Anthropic's text watermark, but non-default temperature, top_p, or top_k may drop it. Here is how I log the request body once and decide.
Before upgrading the SDK turns temperature into a 400, I swept my call sites
With API version 2026-10-21, sending temperature, top_p, or top_k returns a 400 even at the default value. Here is how the switch happens through an SDK upgrade, a small scanner for the lines to fix first, and the order I'd fix them in.
Claude API temperature and top_p Explained — Optimal Settings by Task with Real-World Testing
A practical guide to Claude API's temperature and top_p parameters: how they work, why temperature=0 isn't fully deterministic, and optimal settings for code generation, creative writing, RAG, and more.