streaming changedbuild-with-claude/streaming
Nearest release: v2.1.309, published 13 hours before this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Recorded here
Lines+9added
Lines−9removed
From line
309
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits16to this page, all time
The whole hunk
from line 309, old and new numbered
/
from line 309
309309
310310The API might occasionally send [errors](https://platform.claude.com/docs/en/api/errors) in the event stream. For example, during periods of high usage, you might receive an `overloaded_error`, which would normally correspond to an HTTP 529 in a non-streaming context:
311311
312```text Example error
312```sse Example error
313313event: error
314314data: {"type": "error", "error": {"type": "overloaded_error", "message": "Overloaded"}}
315315```
from line 326
326326
327327A `text` content block delta looks like:
328328
329```text Text delta
329```sse Text delta
330330event: content_block_delta
331331data: {"type": "content_block_delta","index": 0,"delta": {"type": "text_delta", "text": "ello frien"}}
332332```
from line 339
339339
340340A `tool_use` content block delta looks like:
341341
342```text Input JSON delta
342```sse Input JSON delta
343343event: content_block_delta
344344data: {"type": "content_block_delta","index": 1,"delta": {"type": "input_json_delta","partial_json": "{\"location\": \"San Fra"}}}
345345```
from line 356
356356
357357A typical thinking delta looks like:
358358
359```text Thinking delta
359```sse Thinking delta
360360event: content_block_delta
361361data: {"type": "content_block_delta", "index": 0, "delta": {"type": "thinking_delta", "thinking": "I need to find the GCD of 1071 and 462 using the Euclidean algorithm.\n\n1071 = 2 × 462 + 147"}}
362362```
from line 363
363363
364364The signature delta looks like:
365365
366```text Signature delta
366```sse Signature delta
367367event: content_block_delta
368368data: {"type": "content_block_delta", "index": 0, "delta": {"type": "signature_delta", "signature": "EqQBCgIYAhIM1gbcDa9GJwZA2b3hGgxBdjrkzLoky3dl1pkiMOYds..."}}
369369```
from line 530
530530 ```
531531</CodeGroup>
532532
533```text Response
533```sse Response
534534event: message_start
535535data: {"type": "message_start", "message": {"id": "msg_1nZdL29xx5MUA1yADyHTEsnR8uuvGzszyY", "type": "message", "role": "assistant", "content": [], "model": "claude-opus-5-5", "stop_reason": null, "stop_sequence": null, "usage": {"input_tokens": 25, "output_tokens": 1}}}
536536
from line 872
872872 ```
873873</CodeGroup>
874874
875```text Response
875```sse Response
876876event: message_start
877877data: {"type":"message_start","message":{"id":"msg_014p7gG3wDgGV9EUtLvnow3U","type":"message","role":"assistant","model":"claude-opus-5","stop_sequence":null,"usage":{"input_tokens":472,"output_tokens":2},"content":[],"stop_reason":null}}
878878
from line 1165
11651165 ```
11661166</CodeGroup>
11671167
1168```text Response
1168```sse Response
11691169event: message_start
11701170data: {"type": "message_start", "message": {"id": "msg_01...", "type": "message", "role": "assistant", "content": [], "model": "claude-opus-5-5", "stop_reason": null, "stop_sequence": null}}
11711171
from line 1396
13961396 ```
13971397</CodeGroup>
13981398
1399```text Response
1399```sse Response
14001400event: message_start
14011401data: {"type":"message_start","message":{"id":"msg_01G...","type":"message","role":"assistant","model":"claude-opus-5-5","content":[],"stop_reason":null,"stop_sequence":null,"usage":{"input_tokens":2679,"cache_creation_input_tokens":0,"cache_read_input_tokens":0,"output_tokens":3}}}
14021402
No line in this hunk matches that.