Skip to content

SSE Streaming

Any .http or .flow request that returns Content-Type: text/event-stream is detected automatically — the Results Panel switches to a live event timeline and events stream in as the server emits them. No extra setup.

15:42:01.001 message_start
{"type":"message_start"}
15:42:01.005 content_block_delta
{"type":"content_block_delta","delta":{"text":"Hello"}}
15:42:01.050 message_stop
{"type":"message_stop"}
  • Filter by event name or free-text
  • Copy all events as JSONL
  • Stop to close the stream manually
  • Summary bar on close: total events, bytes, duration

Inside .http / .flow files you can assert on events:

### Stream a completion
POST {{baseUrl}}/v1/chat/completions
Accept: text/event-stream
# @expect event message_start within 5000
# @expect event content_block_delta count >= 3
# @expect event done
# @extract event last = content_block_delta
# @assert last contains "hello"
# @sse-timeout 30000
# @sse-reconnect off
DirectiveDescription
@expect event <name>Require at least one event of this name
@expect event <name> within <ms>With a per-event timeout
@expect event <name> count >= <n>Require at least N events
@extract event <var> = <name>Capture the last payload of the named event
@sse-timeout <ms>Maximum total stream duration (default 60s)
@sse-reconnect on|offReconnect on drop — Pro

See the SSE reference for the complete set.

CapabilityFreePro
Auto-detection + live timeline
Event filter, search, copy
@expect event / @extract event
@sse-reconnect