Read an environment build log
get_site_environment_log
Returns the full output of one environment build.
Scopeconfig:readRead only
Reach for it when the Error and Excerpt from get_site_environment do not explain why a build failed. The output has three parts, the preview image, the publish build image and the live site image, which are built from the same lines.
Inputs
| Input | Type | Required | Description |
|---|---|---|---|
projectId |
string | Yes | The site id. |
buildId |
string | No | The build id from Latest or History in get_site_environment. Leave it out for the last save. |