Skip to main content
GET
/
workflow
/
{id}
/
status
Get workflow execution status (latest run)
curl --request GET \
  --url http://localhost:3001/workflow/{id}/status
{
  "workflowId": "<string>",
  "runId": "<string>",
  "status": "canceled",
  "startedAt": 123,
  "completedAt": 123
}

Path Parameters

id
string
required

The id of workflow to retrieve the status

Response

The workflow status

workflowId
string

The id of workflow

runId
string

The specific run id for this execution

status
enum<string>

The workflow execution status

Available options:
canceled,
completed,
continued_as_new,
failed,
running,
terminated,
timed_out,
unspecified
startedAt
number

An epoch timestamp representing when the workflow started

completedAt
number

An epoch timestamp representing when the workflow ended