---
title: "List all tasks in a workflow run"
method: GET
path: "/workflow-runs/{workflowRunId}/tasks"
tags: ["Tasks"]
---

# List all tasks in a workflow run

`GET /workflow-runs/{workflowRunId}/tasks`

Returns a list of tasks for a workflow run.
The tasks are returned 20 at a time, sorted in order.
You must use the links section to get the next 20 results.

## Path parameters

- `workflowRunId` string, required

## Query parameters

- `_` string

## Response `200`

- ListTasksResponse
  - `tasks` object[]
    - `id` string, required — The ID of the Task
    - `updatedDate` string, date-time, required — When the resource was last modified. ISO-8601 UTC.
    - `updatedBy` object, required — User who last modified the resource.
      - `id` string, required — The resource's ID.
      - `email` string, required — The user's email address (also their login identifier).
      - `username` string, required — The user's display name (e.g. `Jane Doe`).
    - `completedDate` string, date-time — When the task was marked complete, if it is. ISO-8601 UTC.
    - `completedBy` object
      - `id` string, required — The resource's ID.
      - `email` string, required — The user's email address (also their login identifier).
      - `username` string, required — The user's display name (e.g. `Jane Doe`).
    - `workflowRunId` string, required — The ID of the Workflow Run
    - `status` 'NotCompleted' | 'Completed', required
    - `dueDate` string, date-time — Optional task-level due date. ISO-8601 UTC.
    - `name` string, required — Display name of the task.
    - `hidden` boolean, required — Whether the task is hidden by Conditional Logic.
    - `stopped` boolean, required — Whether the task is blocked (stopped) by an incomplete prior stop task.
    - `taskType` 'Standard' | 'Approval' | 'AI' | 'Code', required — What the task does. - `Standard` — a regular task that a user manually checks off when done. - `Approval` — an approval task; a reviewer approves or rejects it, gating subsequent tasks. - `AI` — an automated task that runs an AI prompt to populate form field values. - `Code` — an automated task that runs a custom code snippet.
    - `links` object[] — Navigable HATEOAS links to related resources. Each entry has a `name` (RFC-5988 link relation like `self`, `edit`, `related`), an `href` URL, and a `type` (`Api` for callable endpoints, `App` for browser-facing URLs). Prefer following these `href` values over constructing URLs by hand.
      - `name` string, required — Standard link relation name (RFC 5988) indicating this link's role. Common values include `self`, `edit`, `related`, `previous`, `next`.
      - `href` string, required — URL of the linked resource.
      - `rel` 'Approval Task' | 'Approvals' | 'Assignees' | 'Comment' | 'Data Set Records' | 'Data Sets' | 'Form Field Values' | 'Subject Task' | 'Task' | 'Tasks' | 'Users' | 'Webhook' | 'Workflow' | 'Workflow Run' — Optional. The kind of resource this link points to (e.g. `Workflow`, `Task`, `Comment`).
      - `type` 'Api' | 'App', required — Whether this link targets an API endpoint or a Process Street app URL. `Api` — a callable API endpoint you can fetch directly. `App` — a browser-facing URL in the Process Street UI.
  - `links` object[] — Navigable HATEOAS links to related resources. Each entry has a `name` (RFC-5988 relation), an `href` URL, and a `type` (`Api` or `App`).
    - `name` string, required — Standard link relation name (RFC 5988) indicating this link's role. Common values include `self`, `edit`, `related`, `previous`, `next`.
    - `href` string, required — URL of the linked resource.
    - `rel` 'Approval Task' | 'Approvals' | 'Assignees' | 'Comment' | 'Data Set Records' | 'Data Sets' | 'Form Field Values' | 'Subject Task' | 'Task' | 'Tasks' | 'Users' | 'Webhook' | 'Workflow' | 'Workflow Run' — Optional. The kind of resource this link points to (e.g. `Workflow`, `Task`, `Comment`).
    - `type` 'Api' | 'App', required — Whether this link targets an API endpoint or a Process Street app URL. `Api` — a callable API endpoint you can fetch directly. `App` — a browser-facing URL in the Process Street UI.

## Other responses

- `default`

---

[API](https://skmtc.net/process/apis/process-street-public-api.md) · [All operations](https://skmtc.net/process/apis/process-street-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/process/process-street-public-api/revisions/6199a9464227/schema)
