---
title: "Get logs for specific step"
method: GET
path: "/deployments/{deploymentLogId}/steps/{name}/log"
tags: ["Deployment Logs"]
---

# Get logs for specific step

`GET /deployments/{deploymentLogId}/steps/{name}/log`

## Path parameters

- `name` string, required
- `deploymentLogId` string, required

## Response `200`

- DeploymentStepApiFindStepLogResponse
  - `events` DeploymentStepApiLogEvent[], required
    - `eventId` string
    - `message` string, required
    - `level` string, required
    - `timestamp` union, required
      - number
      - string
      - string, date-time
    - `command` 'deploy' | 'destroy' | 'deployResume' | 'destroyResume' | 'remotePlan' | 'prPlan' | 'driftDetection' | 'task' | 'moduleTest' | 'dryRun'
  - `nextStartTime` union
    - number
    - string
  - `hasMoreLogs` boolean, required

---

[API](https://skmtc.net/envzero/apis/env0-api.md) · [All operations](https://skmtc.net/envzero/apis/env0-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/envzero/env0-api/versions/513441cbe9dc/schema)
