---
title: "List Workflow Run Tasks"
method: GET
path: "/v2/workflow-runs/{workflow_run_id}/tasks"
tags: ["Workflow Run API"]
---

# List Workflow Run Tasks

`GET /v2/workflow-runs/{workflow_run_id}/tasks`

List the tasks (steps) of a workflow run, ordered by step, with truncated input/output previews and a resolved outcome per step. Paginated. Use this to find the failing step within a run, then call GetWorkflowRunTask for that step's full input/output.

## Path parameters

- `workflow_run_id` string, required — The ID of the workflow run whose tasks (steps) to list.

## Query parameters

- `pageSize` integer — Maximum number of tasks to return. Default is 50, maximum is 200.
- `pageToken` string — Token for pagination. Leave empty for the first request.

## Response `200`

Success

- SvflowPublicapiListWorkflowRunTasksResponse
  - `data` SvflowPubapimodelsWorkflowRunTaskSummary[] — The list of task summaries, ordered by step ascending.
    - `stepNumber` union — The step number of the task within the run.
      - integer
      - string, int64
    - `taskName` string — The human-readable task name (falls back to the function name).
    - `outcome` 'WORKFLOW_RUN_TASK_OUTCOME_UNSPECIFIED' | 'WORKFLOW_RUN_TASK_OUTCOME_PENDING' | 'WORKFLOW_RUN_TASK_OUTCOME_RUNNING' | 'WORKFLOW_RUN_TASK_OUTCOME_SUCCESS' | 'WORKFLOW_RUN_TASK_OUTCOME_FAILED' | 'WORKFLOW_RUN_TASK_OUTCOME_PAUSED' — WorkflowRunTaskOutcome is the resolved outcome of a single task (step) run.
    - `inputPreview` string, nullable — A truncated preview of the task input (JSON string), if any.
    - `outputPreview` string, nullable — A truncated preview of the task output (JSON string), if any.
    - `inputTruncated` boolean — True when input_preview was truncated.
    - `outputTruncated` boolean — True when output_preview was truncated.
  - `nextPageToken` string, nullable — Token for retrieving the next page of results. Empty if no more results.

## Other responses

- `default` — Error

---

[API](https://skmtc.net/serval/apis/serval-public-api.md) · [All operations](https://skmtc.net/serval/apis/serval-public-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/serval/serval-public-api/versions/0549515e9384/schema)
