Skip to main content
GET
/
v2
/
workflow-runs
/
{workflow_run_id}
/
tasks
List Workflow Run Tasks
curl --request GET \
  --url https://public.api.serval.com/v2/workflow-runs/{workflow_run_id}/tasks \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "stepNumber": 123,
      "taskName": "<string>",
      "inputPreview": "<string>",
      "outputPreview": "<string>",
      "inputTruncated": true,
      "outputTruncated": true
    }
  ],
  "nextPageToken": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.serval.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

workflow_run_id
string
required

The ID of the workflow run whose tasks (steps) to list.

Query Parameters

pageSize
integer<int32>

Maximum number of tasks to return. Default is 50, maximum is 200.

pageToken
string

Token for pagination. Leave empty for the first request.

Response

Success

data
WorkflowRunTaskSummary · object[]

The list of task summaries, ordered by step ascending.

nextPageToken
string | null

Token for retrieving the next page of results. Empty if no more results.