Skip to main content
GET
/
v2
/
workflow-runs
/
{workflow_run_id}
/
tasks
/
{step_number}
Get Workflow Run Task
curl --request GET \
  --url https://public.api.serval.com/v2/workflow-runs/{workflow_run_id}/tasks/{step_number} \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "stepNumber": 123,
    "taskName": "<string>",
    "functionName": "<string>",
    "input": "<string>",
    "output": "<string>",
    "inputTruncated": true,
    "outputTruncated": true
  }
}

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 containing the task.

step_number
required

The step number of the task to fetch (from ListWorkflowRunTasks).

Response

Success

data
data · object

The task detail.