Skip to main content
GET
Streams the current build logs for a template as Server-Sent Events. If a build is in progress, logs are streamed in real-time. If the build is complete, historical logs are returned immediately. Required scope: templates:read

Path Parameters

string
required
The template ID (e.g. tmpl_abc123).

Headers

string
required
Bearer token. Example: Bearer runtm_xxx
string
required
Organization ID.

Response

Returns a text/event-stream with log events. Each line is prefixed with data: and contains a JSON object.
string
Log entry type: log, status, error, complete.
string
Log message content.
string
ISO 8601 timestamp.