---
title: "Get workflow task logs"
method: GET
path: "/workflow/{workflowId}/log/{taskId}"
tags: ["workflows"]
---

# Get workflow task logs

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

Retrieves the output logs for the workflow task identified by the given `taskId`.

## Path parameters

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

## Query parameters

- `next` string
- `workspaceId` integer
- `maxLength` integer

## Response `200`

OK

- WorkflowLogResponse
  - `log` LogPage
    - `downloads` LogPageDownload[]
      - `displayText` string
      - `fileName` string
      - `saveName` string
    - `entries` IteratorString
    - `forwardToken` string
    - `message` string
    - `pending` boolean
    - `rewindToken` string
    - `truncated` boolean

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