---
title: "Download workflow task files"
method: GET
path: "/workflow/{workflowId}/download/{taskId}"
tags: ["workflows"]
---

# Download workflow task files

`GET /workflow/{workflowId}/download/{taskId}`

Downloads the workflow files of the task identified by the given `taskId`.

## Path parameters

- `workflowId` string, required
- `taskId` integer, required

## Query parameters

- `fileName` string
- `workspaceId` integer

## Response `200`

OK

## Other responses

- `400` — Bad request
- `403` — Operation not allowed

## Changes

> 14 revisions in range; 1 not diffed, 3 could not be searched.

- **2026-04-27** `166be0f9d55d` — 1 breaking, 1 info
  - removed the media type `application/json` for the response with the status `200`
  - added the media type `text/plain` for the response with the status `200`

[Change history](https://skmtc.dev/seqeralabs/apis/seqera-api/changes/workflow/:workflowId/download/:taskId/get.md)

---

[API](https://skmtc.dev/seqeralabs/apis/seqera-api.md) · [All operations](https://skmtc.dev/seqeralabs/apis/seqera-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/seqeralabs/seqera-api/revisions/97f7655d105a/schema)
