Skip to content

Read a deployment's build log

GET/api/v1/deploy/deployments/{id}

With follow=1 the log is streamed as text/plain until the build ends.

Needs an API key in the Authorization header.

On this page

Parameters

FieldInTypeDescription
idrequiredpathstring
  • format: uuid
formatquerystring
text answers in plain text instead of JSON
  • one of: json, text
tailqueryinteger
  • min: 1
  • max: 5000
offsetqueryinteger
  • default: 0
  • min: 0
followquerystring
  • one of: 1, true, 0, false

Example request

curl -X GET "https://polaris.example.com/api/v1/deploy/deployments/{id}" \
  -H "Authorization: Bearer $POLARIS_API_KEY"

Responses

StatusMeaning
200OK

Can also answer the common errors 400, 401, 403, 404, 429. See common errors