Skip to main content
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:
string
Event timestamp (ISO 8601).
string
info, success, warn, or error.
string
Build phase: publish, compile, boot, install, snapshot, record, archive, or ready. A cancelled or timed-out build ends on cancel or timeout.
string
Origin of the line, e.g. apt, pip, npm, or builder. Optional.
string
A single line of build output.

Path parameters

string
required
Template namespace.
string
required
Template name.
string
required
Version (semver).

Example

Stream

Authorizations

Authorization
string
header
required

API key authentication. Get your key at orgo.ai/workspaces

Path Parameters

namespace
string
required
name
string
required
version
string
required

Response

SSE stream of BuildEvent frames

One frame of the build-events SSE stream.

ts
string<date-time>
level
enum<string>
Available options:
info,
success,
warn,
error
phase
enum<string>
Available options:
publish,
compile,
boot,
install,
snapshot,
record,
archive,
ready,
cancel,
timeout
source
string

Origin of the line, e.g. apt, pip, npm, builder.

line
string

A single line of build output.