Skip to main content
GET
Return the result of a workflow (latest run)

Path Parameters

id
string
required

The id of workflow to retrieve the result

Response

The workflow result

Current workflow result with direct output and memo-based trace information

v
enum<string>
required

Workflow result response version

Available options:
2
workflowId
string
required

The workflow execution id

runId
string | null
required

The specific run id for this execution

status
enum<string>
required

The workflow execution status

Available options:
completed,
failed,
cancelled,
terminated,
timed_out,
continued_as_new
input
any | null
required

The original input passed to the workflow, null if unavailable

output
any | null
required

Direct workflow output, null if no output is available

trace
object | null
required

Available destinations for trace data

error
object · null · null
required

Structured error details captured from the workflow or activity failure