Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One change · api

errors changedapi/errors

Nearest release: v2.1.301, published 5 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+4added
Lines−5removed
From line 269 where the diff opens
First seen 14 Aug 2026 this site's first read of the page
Recorded edits24to this page, all time

The whole hunk

from line 269, old and new numbered
/
lines
from line 269
269269 
270270If you don't need to process events incrementally, the SDK can consume the stream for you and return the complete `Message` object, identical to what a non-streaming call returns:
271271 
272<CodeGroup>
273 ```bash cURL
274 # Raw SSE output requires handling events; there is no single-command way
275 # to accumulate the final message with curl. Use the SDK examples instead.
276 ```
272<CodeGroup exclude="shell:cURL">
273 <CodeGroupItem language="cURL">
274 A curl request prints the raw stream events and can't combine them into the final message. To get the complete `Message` object from a stream, use the [Claude SDK](https://platform.claude.com/docs/en/cli-sdks-libraries/overview).
275 </CodeGroupItem>
277276 
278277 ```bash CLI
279278 # The CLI streams events; --format jsonl emits one event per line
Feedback