Stream text response via SSE
Streams Claude CLI output using Server-Sent Events (SSE). Provides real-time streaming of Claude's response with session management and usage tracking. Event types: session (session ID), text (streaming content), result (final usage stats), error (errors), done (stream complete).
Request body
Response
SSE stream with real-time Claude CLI output
Changes
Changed in 4 of the 7 revisions of this API.44
- ●
added the new
NO_TOOLS_AVAILABLEenum value to thecoderesponse property for the response status400response-property-enum-value-added
- ○
added the new optional request property
allowedToolsnew-optional-request-property
- ●
- ●
removed the request property
userEmailrequest-property-removed
- ●
- ●
added the new
CONCURRENCY_LIMIT_ERRORenum value to thecoderesponse property for the response status400response-property-enum-value-added
- ●
- ●
removed the request property
allowedToolsrequest-property-removed
- ○
added the new optional request property
userEmailnew-optional-request-property
- ○
removed the
CONCURRENCY_LIMIT_ERRORenum value from thecoderesponse property for the response status400response-property-enum-value-removed
- ○
removed the
NO_TOOLS_AVAILABLEenum value from thecoderesponse property for the response status400response-property-enum-value-removed
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●