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 and closes when it reaches
ready or failed.
Each data: frame is a JSON object:
Event timestamp (ISO 8601).
info, success, warn, or error.Build phase:
publish, compile, boot, install, snapshot, record, archive, or ready. A cancelled or timed-out build ends on cancel or timeout.Origin of the line, e.g.
apt, pip, npm, or builder. Optional.A single line of build output.
Path parameters
Template namespace.
Template name.
Version (semver).
Example
Stream
Authorizations
API key authentication. Get your key at orgo.ai/workspaces
Response
SSE stream of BuildEvent frames
One frame of the build-events SSE stream.
Available options:
info, success, warn, error Available options:
publish, compile, boot, install, snapshot, record, archive, ready, cancel, timeout Origin of the line, e.g. apt, pip, npm, builder.
A single line of build output.
Stream build logs