Documentation Index
Fetch the complete documentation index at: https://docs.kadoa.com/llms.txt
Use this file to discover all available pages before exploring further.
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:| Status | Meaning | displayState |
|---|---|---|
| Setup | You’re still configuring this workflow. Finish setup to start the first run. | DRAFT |
| Building | Kadoa is generating the scraper code for this workflow. You’ll be notified when it’s ready. | SETUP |
| Sample Processing | Kadoa is generating sample data so you can review what the workflow will extract. | QUEUED / PENDING_START |
| Needs Review | Sample data is ready. Review and approve it to get the full dataset. | PREVIEW |
| In Human Review | Run finished extraction and is being reviewed by our team before the data is delivered. Reviews usually take a few hours. | VALIDATING |
| Running | A job is currently extracting data, or a real-time monitor is collecting data normally. | RUNNING |
| Scheduled | Last run finished successfully, future runs are scheduled. | ACTIVE |
| Complete | Last run finished successfully, no future runs scheduled. | ACTIVE |
| Paused | Workflow is paused. | PAUSED |
| Failed | Last run encountered an error. | FAILED |
| Degraded | (Real-time monitors only) No data received for more than 15 minutes. | DEGRADED |
Real-time monitor health
Real-time monitors run continuously and are health-checked automatically. If a monitor stops receiving data, its status changes: Running → Degraded (after 15 min) → Failed (after 30 min)- Degraded — Our team has been notified and is investigating.
- Failed — A support case has been opened and you’ll be notified when it’s resolved.
API Response Fields
The API returns three state-related fields:| Field | Purpose | When to Use |
|---|---|---|
displayState | What users see in the dashboard | Use this for filtering and display |
state | Workflow lifecycle (enabled/paused/deleted) | Admin operations |
runState | Latest job result (running/finished/failed) | Job-level debugging |
state and displayState are DRAFT until the workflow leaves the setup lifecycle.
Filtering Workflows
When filtering workflows via the API, use thedisplayState parameter:
displayState is computed by combining state and runState. For example, a workflow with state=ACTIVE and runState=FAILED will have displayState=FAILED. Some lifecycle states map directly, such as DRAFT, PAUSED, and PREVIEW. For real-time monitors, displayState can also be DEGRADED or FAILED based on monitor health.