Get workflow execution status (latest run)

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

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

Changed in 3 of the 20 revisions of this API.22

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

      response-property-enum-value-added

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

      response-property-enum-value-removed

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • added the optional property to the response with the status

      response-optional-property-added

    • removed the optional property from the response with the status

      response-optional-property-removed

    This revision also has 7 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog