Streaming events - HarnessRouter Docs | HarnessRouter

Streaming events

Wire format

There are no event: lines. Every frame arrives as a default SSE message, and the event name is the type field inside the JSON payload.

First frame

data: {"type":"response.created","sequence_number":0,"response":{"id":"resp_...","status":"in_progress","metadata":{"session_id":"hsess..."}}}

Important events

Open standard
Data-only SSE frames carrying type and sequence_number, ending in exactly one terminal event, are the wire rules that UHP's Streaming chapter makes normative for every conformant server. See the Streaming chapter of the Unified Harness Protocol.