For live monitoring — build status changes and streamed log lines — use the Socket.IO channel. Polling the REST API works but wastes requests and adds latency.Documentation Index
Fetch the complete documentation index at: https://docs.buildpixel.io/llms.txt
Use this file to discover all available pages before exploring further.
Connecting
auth.token is your standard API token. The token’s permissions determine which builds you can subscribe to.
Joining a build’s room
Events
| Event | Payload |
|---|---|
build:status | { buildId, status, ... } — fires when the build’s status changes |
build:log | { buildId, timestamp, level, message } — fires for each line of build output |
status matches the values in Build statuses: pending, running, complete, failed, superseded.
level is info, warn, or error.
Disconnect handling
The Socket.IO client library reconnects automatically. After reconnect, re-emitjoin:build for any rooms you were in.
Closing the connection
Alwaysdisconnect cleanly when you’re done — especially in serverless environments where lingering connections cost money.