Get workflow execution status (latest run)

Changed on

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

get/workflow/{id}/status

Request

Path parameters

idstring required

The id of workflow to retrieve the status

Response

The workflow status

workflowIdstring

The id of workflow

runIdstring

The specific run id for this execution

status'cancelled' | 'completed' | 'continued_as_new' | 'failed' | 'running' | 'terminated' | 'timed_out' | 'unspecified'

The workflow execution status

startedAtnumber

An epoch timestamp representing when the workflow started

completedAtnumber

An epoch timestamp representing when the workflow ended

Changes

    • warning

      added the new cancelled enum value to the response property for the response status

    • info

      removed the canceled enum value from the response property for the response status

    • info

      added the optional property to the response with the status