Search across all documentation pages
9 pages in this section.
Understand the SSE event types Claude sends as tokens generate incrementally, and the mental model behind streaming responses from the Messages API.
Learn to implement streaming responses with the Anthropic SDK. Explore 9 examples, from basic text streaming to iterating raw events.
Render streamed text_delta events into a live-updating chat interface, from a terminal prototype to a backend endpoint a frontend can consume.
Accumulate input_json_delta events safely before parsing a streamed tool_use input, and avoid the partial-JSON parsing mistakes that crash agentic code.
Reference table for message_start, content_block_delta, message_delta, and message_stop events, their fields, and when each one fires.
Practices for buffering, error handling, and reconnecting dropped streaming connections in production Claude API code.
A single-page roundup of every highlight bullet from the 8 pages in the Streaming section, grouped by source page so you can scan all 46 takeaways without opening each article individually.