Read a shared app deploy's log

Read a shared app deploy's log

One deploy's log: the platform install's output, then the start command's, up to the moment the deploy went live or failed. ANSI escapes are stripped, secrets masked, and the log is capped at 256 KiB (truncated). deployId is a deploy id (lastError.deployId names the failed one) or latest, the newest deploy whether it failed or not. 404 DEPLOY_NOT_FOUND for an unknown deploy, or latest before any deploy. 501 LOGS_UNAVAILABLE when the sandbox platform has no deploy logs yet. Requires read access to the computer the app was published from (its publisher once that computer is gone), or a vault owner or space admin.

GET/api/apps/{id}/deploys/{deployId}/log
Path parameters
idstringrequired
deployIdstring | enumrequired

Request

curl
curl -X GET https://trickest.io/api/apps/{id}/deploys/{deployId}/log \
  -H "Authorization: Token $TRICKEST_TOKEN"

Responses

200The deploy's log
deployIdstringrequired
versionintegerrequired
statusenumrequired

One of: succeeded, failed

phasestringrequired
exitCodeinteger
errorobject

codestringrequired
messagestringrequired
detailstring
phaseenum

One of: install, build, start, probe

reasonstring
exitCodeinteger
deployIdstring
logUrlstring
truncatedbooleanrequired
logstringrequired
400Bad Request – validation error or malformed input
codestringrequired
messagestringrequired
detailsobject

Field-level detail when the error is a validation failure.

401Unauthorized – missing or expired token
codestringrequired
messagestringrequired
detailsobject

Field-level detail when the error is a validation failure.

403Forbidden – insufficient permissions
codestringrequired
messagestringrequired
detailsobject

Field-level detail when the error is a validation failure.

429Too Many Requests – rate limited
codestringrequired
messagestringrequired
detailsobject

Field-level detail when the error is a validation failure.

500Internal Server Error
codestringrequired
messagestringrequired
detailsobject

Field-level detail when the error is a validation failure.