Deployment

Get deployment logs

Deployment logs become available shortly after a deployment finishes. While "ready" is false the logs are still being collected. Once "ready" is true the response is final; an empty "logs" array then means there are no logs for this deployment.

get/v1/deployments/{publicId}/logs

Request

  • Base URL: https://api.fortrabbit.com
  • URL: https://api.fortrabbit.com/v1/deployments/{publicId}/logs
  • Auth: HTTP bearer

Path parameters

publicIdstring required

Deployment identifier

Response

Deployment resource

readyboolean

False while the deployment logs are still being collected. Poll this endpoint again until it turns true. Once true the response is final, and an empty "logs" array then means there are no logs to show.

logsobject[]

Log lines in chronological order. Always an array; empty while "ready" is false.

Example response

{
  "ready": true
}

Changes

No recorded changes to this operation across all 1 revision of this API.