v1

latestOpenAPI 3.0.02026-07-17301761.7 KB

Return the result of a workflow (latest run)

Returns the result of the latest run for the given workflow. To pin a specific run, use /workflow/{id}/runs/{rid}/result.

get/workflow/{id}/result

Path parameters

idstring required

The id of workflow to retrieve the result

Response

The workflow result

workflowIdstring

The workflow execution id

runIdstring

The specific run id for this execution

{"stackTrail":"components:schemas:WorkflowResultResponse:properties:input","oasType":"schema","type":"unknown","description":"The original input passed to the workflow, null if unavailable"}
{"stackTrail":"components:schemas:WorkflowResultResponse:properties:output","oasType":"schema","type":"unknown","description":"The result of workflow, null if workflow failed"}
status'completed' | 'failed' | 'canceled' | 'terminated' | 'timed_out' | 'continued_as_new'

The workflow execution status

errorstring nullable

Error message if workflow failed, null otherwise