docs-deep-api
Anthropic Docs — Deep API (Structured Outputs, Batches, Prompt Caching, Token-Efficient Tools)
URL: https://docs.anthropic.com/en/docs/build-with-claude/structured-outputs Publisher: Anthropic Docs Retrieved: 2026-07-08
Summary
Dedicated deep-dive pages (deeper than the prompting/tools overviews) for four API features: Structured Outputs (JSON-schema constrained decoding — exact strict-tool limits, supported/unsupported schema keywords, stop_reason: "refusal"/max_tokens error modes, 24h grammar cache), the Message Batches API (50% discount, 100k-request/256MB caps, 24h expiry, 29-day result retention, unsupported params, output-300k-2026-03-24 extended-output beta), Prompt caching (5m/1h TTLs, 1.25x/2x write and 0.1x read multipliers, per-model min token thresholds, 4 breakpoints, max_tokens: 0 pre-warming), and Token-efficient tool use (legacy token-efficient-tools-2025-02-19 beta header, built-in on Claude 4+). All docs.anthropic.com URLs 301/302-redirect to platform.claude.com/docs.