Skip to main content
GET
/
deployments
/
{deployment}
/
logs
Get deployment logs
curl --request GET \
  --url https://cloud.laravel.com/api/deployments/{deployment}/logs \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "build": {
      "available": true,
      "steps": [
        {
          "step": "<string>",
          "status": "<string>",
          "description": "<string>",
          "output": "<string>",
          "duration_ms": 123,
          "time": "<string>"
        }
      ]
    },
    "deploy": {
      "available": true,
      "steps": [
        {
          "step": "<string>",
          "status": "<string>",
          "description": "<string>",
          "output": "<string>",
          "duration_ms": 123,
          "time": "<string>"
        }
      ]
    }
  },
  "meta": {
    "deployment_status": "<string>"
  }
}

Authorizations

Authorization
string
header
required

The Bearer Token generated on the Cloud UI.

Path Parameters

deployment
string
required

The deployment identifier

Response

data
object
required
meta
object
required