Attach Run Events
Changed onOpens an ordered server-sent event stream of the run's stream, replaying committed items and continuing with live ones while the run remains active. Each data: frame is one RunStreamItem. The stream starts after after (the last stream_seq the client saw; 0 replays the whole run; the next unseen item when omitted). It ends once the run is no longer active and every committed item has been sent. A reconnecting client passes its last stream_seq as after and deduplicates by id.
Request
- The document declares no server URL.
- Auth
- HTTP bearer
- or API key in cookie __fabro_session
Path parameters
Unique run identifier (ULID).
Query parameters
Run stream cursor for a Petri run: the last stream_seq the client saw, exclusive. 0 starts at the first item.
Response
Server-sent event stream
Changes
- warning
deleted the
queryrequest parametersince_seq - info
added the new optional
queryrequest parameterafter - info
added the optional property
//to the response with the status
- warning