Skip to main content

Understanding Workflow Status

When you view a workflow in the dashboard or API, you’ll see a status that tells you what’s happening. This status is computed from two underlying values.

What You See (displayState)

The status shown in the dashboard:
StatusMeaning
CompleteLast run finished successfully, no future runs scheduled
ScheduledLast run finished successfully, future runs are scheduled
RunningA job is currently extracting data
FailedLast run encountered an error
PausedWorkflow is paused (by you or due to insufficient credits)
Pending ReviewSample data ready for your review
Sample ProcessingKadoa is generating your scraper

API Response Fields

The API returns three state-related fields:
{
  "state": "ACTIVE",
  "runState": "FINISHED",
  "displayState": "ACTIVE"
}
FieldPurposeWhen to Use
displayStateWhat users see in the dashboardUse this for filtering and display
stateWorkflow lifecycle (enabled/paused/deleted)Admin operations
runStateLatest job result (running/finished/failed)Job-level debugging

Filtering Workflows

When filtering workflows via the API, use the displayState parameter:
# Get all completed/scheduled workflows (both show as displayState=ACTIVE)
GET /v4/workflows?displayState=ACTIVE

# Get failed workflows
GET /v4/workflows?displayState=FAILED

# Get paused workflows
GET /v4/workflows?displayState=PAUSED

# Get workflows pending review
GET /v4/workflows?displayState=PREVIEW
displayState is computed by combining state and runState. For example, a workflow with state=ACTIVE and runState=FAILED will have displayState=FAILED.