---
title: "Download step logs as ZIP of a DAG-run"
method: POST
path: "/dag-runs/{name}/{dagRunId}/steps/log/download"
tags: ["dag-runs"]
---

# Download step logs as ZIP of a DAG-run

`POST /dag-runs/{name}/{dagRunId}/steps/log/download`

Browser form download of the same streaming ZIP returned by GET.
The optional token field supplies a bearer credential when the
Authorization header is absent. Normal authentication and run visibility
checks apply. Tokens in the URL are not accepted.

## Path parameters

- `name` string, regex, required — Name of the DAG
- `dagRunId` string, required — Unique identifier for the DAG-run. The special value 'latest' can be used to reference the most recent DAG-run.

## Query parameters

- `remoteNode` string

## Response `200`

ZIP archive of step log files

## Other responses

- `404` — DAG-run not found
- `default` — Generic error response

## Changes

- **2026-09-19** (v1) `15cc2dc17493` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/dagucloud/apis/dagu/changes/dag-runs/:name/:dagRunId/steps/log/download/post.md)

---

[API](https://skmtc.dev/dagucloud/apis/dagu.md) · [All operations](https://skmtc.dev/dagucloud/apis/dagu/llms.txt) · [OpenAPI document](https://skmtc.dev/dagucloud/apis/dagu/revisions/f2d1c9884f74?raw)
