---
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

---

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