---
title: "Get In Flight Tasks"
method: GET
path: "/api/v1/enrichment/in-flight/{project_id}"
tags: ["enrichment"]
---

# Get In Flight Tasks

`GET /api/v1/enrichment/in-flight/{project_id}`

Get all in-flight enrichment workflows for a project.

Queries DBOS workflow status filtered to non-terminal row-enrichment
workflows and aggregates per-field for the polling UI.

## Response `200`

Successful Response

- InFlightTasksResponse — Response schema for listing in-flight enrichment tasks.
  - `tasks` InFlightTaskResponse[], required — List of in-flight tasks for the project
    - `workflow_id` string, required — The DBOS workflow ID
    - `enrichment_id` string, uuid, required — The enrichment being executed
    - `feature_id` string, required — The feature being enriched
    - `field_name` string, required — The enrichment field name
    - `started_at` string, date-time, required — When the workflow was enqueued
    - `phase` 'queued' | 'active', required — Per-cell lifecycle phase: 'queued' = ENQUEUED/DELAYED (waiting for a concurrency slot), 'active' = PENDING (dispatched and executing). Lets a cell distinguish a long queue wait from a run.
    - `coordinator_workflow_id` string, nullable — The run/batch this task belongs to, so the FE can group resumed tasks per action (MAIA-2116). None for pre-2111 rows.
    - `task_type` 'individual' | 'column' — Type of enrichment task
  - `count` integer, required — Total number of in-flight tasks
  - `batches` BatchEnrichmentInfo[] — Run-scoped progress per enrichment action (MAIA-2116)
    - `coordinator_workflow_id` string, required — The coordinator workflow id identifying this run/batch
    - `field_name` string, required — The enrichment field name
    - `launched_total` integer, required — Rows this action launched, fixed at kickoff (manifest size)
    - `resolved_count` integer, required — Launched rows that have reached a terminal state
    - `started_at` string, date-time, required — When this batch was enqueued
  - `totals_by_field` object — DEPRECATED (MAIA-2116): rolling per-field totals; use `batches`
  - `field_info` object — DEPRECATED (MAIA-2116): rolling per-field info; use `batches`

---

[API](https://skmtc.net/maia-analytics/apis/maia-api.md) · [All operations](https://skmtc.net/maia-analytics/apis/maia-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/maia-analytics/maia-api/versions/ba2b8d962161/schema)
