Stream reconnectable template build logs
Firecracker-only endpoint. Replays durable build log entries from the requested offset or cursor and, when follow=true, continues streaming live entries from the active build broadcaster. Owned custom-template builds are caller-scoped; reconnecting with a different authenticated caller returns not found rather than revealing build existence.
Authorizations
API key passed as Bearer token
Path Parameters
Query Parameters
First durable log offset to replay. Takes precedence over cursor.
Alias for offset for reconnecting SSE clients.
Keep the SSE stream open and forward live build log entries.
Response
SSE stream of template build log entries
A single structured build log entry emitted during template build
start, message, cache, retry, warning, error, cancelled, end debug, info, warn, error Canonical human-readable log message for this build entry
Additional metadata attached to terminal build log entries and durable build attempts.
Build phase: cache, preparing, vm_create, step, sync, startup, readiness, snapshot, finalize, cleanup, retry
1-indexed current build step number
Total number of build steps
Current retry attempt (1-indexed)
Maximum number of retry attempts allowed
Cache layer this event describes
file_blob, layer, final_artifact Cache outcome for this event
hit, miss, stored, bypass Optional reason for a cache miss or bypass
whole_build_skip_cache, builder_cache_boundary, force_upload, missing_or_incompatible Human-readable cache target such as a build-context path or step description