Runtime + build logs from a deployment
Returns build and runtime log entries from deployment_id if
supplied, otherwise from the Mist’s most recent deployment. The
response names the deployment it read from. To tail logs, poll
with since set to the newest entry’s timestamp from the
previous response.
Returns 422 with error.details.type of no_deployment when
the Mist has no deployment yet, 404 if deployment_id does not
exist, and 409 while the Mist is pending_destroy.
Requires a company admin token with the mist.code permission.
Authorizations
Bearer token authentication. Accepts company admin tokens with
the matching mist.* permission:
mist.viewto list and show Mistsmist.createto create and rename Mistsmist.destroyto delete and restore Mistsmist.codefor deployments and logsmist.env_varsto read and manage environment variables Droplet installation tokens are refused.
Path Parameters
UUID of the company-owned Mist app.
Query Parameters
Deployment to read logs from, prefixed dpl_. Defaults to the
Mist's most recent deployment.
ISO-8601 timestamp; only entries newer than this are returned.
Maximum number of log entries to return. Defaults to 100; values outside 1–1000 are clamped to that range.
1 <= x <= 1000