Skip to content

Get workflow run status

client.workflowRun.status(stringrunID, RequestOptionsoptions?): WorkflowRunStatusResponse { status }
GET/v1/workflowRun/{runId}/status

Returns the current status of a workflow run.

ParametersExpand Collapse
runID: string

Unique identifier of the workflow run.

ReturnsExpand Collapse
WorkflowRunStatusResponse { status }
status: string

Current status of the workflow run (e.g. running, completed, failed).

Get workflow run status

import Lightfield from 'lightfield';

const client = new Lightfield();

const workflowRunStatusResponse = await client.workflowRun.status('runId');

console.log(workflowRunStatusResponse.status);
{
  "status": "status"
}
Returns Examples
{
  "status": "status"
}