---
title: "Get Pipeline Progress"
method: GET
path: "/companies/{company_id}/pipeline-progress"
tags: ["worklist"]
---

# Get Pipeline Progress

`GET /companies/{company_id}/pipeline-progress`

## Request

- Base URL: `https://app.zeno-works.ch` (the document declares no server; this is the origin it was published from)
- URL: `https://app.zeno-works.ch/companies/{company_id}/pipeline-progress`
- Auth: none declared

Is it still working? How many documents a machine can still move, by stage (F2780).

The complement of the work list: that one counts what waits for a **human**, this one
what waits for a **machine** - documents being received (`intake`), read (`analyzing`),
filed (`archiving`) and queued for the AI accountant (`coding`). It counts only rows a
worker will still claim: a triage-parked document, a company with autonomy off, a bank
statement or an item whose coding already failed is NOT pending, so `active` goes false
once the machines have nothing left to do and the banner it drives goes away.

Any member of the company may ask (the numbers carry no document data); another company's
figures are never included. There is no ETA - `oldest_age_seconds` is the wait of the
oldest thing in the stage, and exists only for `intake`, the one stage that records when
a row was queued. The answer is cached for about 5 seconds per company.

## Path parameters

- `company_id` string, required

## Headers

- `authorization` string, nullable

## Cookies

- `access_token` string, nullable

## Response `200`

Successful Response

- PipelineProgressOut
  - `company_id` string, required
  - `active` boolean, required
  - `stages` PipelineStageOut[], required
    - `stage` 'intake' | 'analyzing' | 'archiving' | 'coding', required: The four stages, in the order a document passes through them. Stable identifiers - the SPA keys its banner lines and i18n plurals off them.
    - `pending` integer, required
    - `oldest_age_seconds` integer, nullable
  - `as_of` string, date-time, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/zeno-works/apis/zeno-api.md) · [All operations](https://skmtc.dev/zeno-works/apis/zeno-api/llms.txt) · [OpenAPI document](https://skmtc.dev/zeno-works/apis/zeno-api/revisions/1eb93dde146c?raw)
