anthropic
Anthropic API
Add prompt cache diagnostics and search result support
Added new optional diagnostics request/response fields to the messages API for troubleshooting prompt cache misses, along with six new cache miss reason schema types (BetaCacheMissMessagesChanged, BetaCacheMissModelChanged, BetaCacheMissPreviousMessageNotFound, BetaCacheMissSystemChanged, BetaCacheMissToolsChanged, BetaCacheMissUnavailable). Also added support for search_result blocks in managed agents with new schemas BetaManagedAgentsSearchResultBlock, BetaManagedAgentsSearchResultCitations, and BetaManagedAgentsSearchResultContent, plus a new beta feature flag cache-diagnosis-2026-04-07. All additions are optional and backward-compatible.
Alert history
- Additive
Add prompt cache diagnostics and search result support
Added new optional
diagnosticsrequest/response fields to the messages API for troubleshooting prompt cache misses, along with six new cache miss reason schema types (BetaCacheMissMessagesChanged,BetaCacheMissModelChanged,BetaCacheMissPreviousMessageNotFound,BetaCacheMissSystemChanged,BetaCacheMissToolsChanged,BetaCacheMissUnavailable). Also added support forsearch_resultblocks in managed agents with new schemasBetaManagedAgentsSearchResultBlock,BetaManagedAgentsSearchResultCitations, andBetaManagedAgentsSearchResultContent, plus a new beta feature flagcache-diagnosis-2026-04-07. All additions are optional and backward-compatible. - Additive
Fast mode now supports Claude Opus 4.7
Claude Opus 4.7 is now available in fast mode (research preview) via the
claude-opus-4-7model identifier with thefast-mode-2026-02-01beta header. This is a new optional model choice that does not affect existing integrations using earlier models.