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.
Live timeline
Section titled “Live timeline”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
Scripted assertions (Pro)
Section titled “Scripted assertions (Pro)”Inside .http / .flow files you can assert on events:
### Stream a completionPOST {{baseUrl}}/v1/chat/completionsAccept: 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 offDirectives
Section titled “Directives”| Directive | Description |
|---|---|
@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|off | Reconnect on drop — Pro |
See the SSE reference for the complete set.
Free vs Pro
Section titled “Free vs Pro”| Capability | Free | Pro |
|---|---|---|
| Auto-detection + live timeline | ✓ | ✓ |
| Event filter, search, copy | ✓ | ✓ |
@expect event / @extract event | — | ✓ |
@sse-reconnect | — | ✓ |