Stream build events (SSE)
Changed onStreams build events as Server-Sent Events. Events include:
- log: Build log lines with timestamp and content
- status: Build status changes (queued→building→pushing→ready/failed)
- heartbeat: Keep-alive events sent every 30s to prevent connection timeouts
Returns existing logs as events, then continues streaming if follow=true.
get/builds/{id}/events
Request
- Base URLhttp://localhost:4973
- URLhttp://localhost:4973/builds/{id}/events
- AuthHTTP bearer
Path parameters
idstring required
Build ID
Query parameters
followboolean
Continue streaming new events after initial output
Response
Event stream (SSE). Each event is a JSON BuildEvent object.
Changes
- info
endpoint added
- info