Templates
Stream build logs
Follow a template build live over Server-Sent Events.
GET
Stream build logs
Streams the build log as Server-Sent Events. Use it to render a live, Docker-style build console. The stream stays open for the duration of the build. When the build ends (succeeds, fails, or is cancelled), it sends a final
Each
event: end frame whose data is {}, then closes. Closing the connection tears down the upstream subscription.
The stream is scoped to your own templates, so a curated (
system/…) ref returns 404.data: frame is a JSON object:
Path parameters
Example
Stream
Errors
Errors arrive as a JSON body with the status below, not as an event frame. A200 always carries Content-Type: text/event-stream.
Authorizations
Response
SSE stream of BuildEvent frames
One frame of the build-events SSE stream.