Stream responses in real-time changedagent-sdk/streaming-output
Nearest release: v2.1.284, published 16 hours after upstream edited the page. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Upstream edited this page at 28 Sep 2026 00:41 UTC, give or take a minute or two: the time comes from Anthropic’s own sitemap rather than from a commit. This site recorded the change at 28 Sep 2026 23:37 UTC.
Upstream edited
Recorded here
Lines+7added
Lines−7removed
From line
82
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits8to this page, all time
The whole hunk
from line 82, old and new numbered
/
from line 82
8282
8383The `event` field contains the raw streaming event from the [Claude API](https://platform.claude.com/docs/en/build-with-claude/streaming#event-types). Common event types include:
8484
85| Event Type | Description |
86| :-------------------- | :---------------------------------------------- |
87| `message_start` | Start of a new message |
85| Event Type | Description |
86| :- | :- |
87| `message_start` | Start of a new message |
8888| `content_block_start` | Start of a new content block (text or tool use) |
89| `content_block_delta` | Incremental update to content |
90| `content_block_stop` | End of a content block |
91| `message_delta` | Message-level updates (stop reason, usage) |
92| `message_stop` | End of the message |
89| `content_block_delta` | Incremental update to content |
90| `content_block_stop` | End of a content block |
91| `message_delta` | Message-level updates (stop reason, usage) |
92| `message_stop` | End of the message |
9393
9494## Message flow
9595
No line in this hunk matches that.