PT-1099: the four flow series of /api/projects/{id}/flow-metrics — cumulative flow, review-queue depth/age, rework rate and cycle time by agent class — aggregated over the ACTIVE organisation’s readable projects in ONE snapshot
GET/api/flow-metrics
PT-1099: the four flow series of /api/projects/{id}/flow-metrics — cumulative flow, review-queue depth/age, rework rate and cycle time by agent class — aggregated over the ACTIVE organisation’s readable projects in ONE snapshot. The set is every non-archived project in the organisation for a full projects.read holder, and the collaborator-or-creator projects for a projects.read.own caller or a guest; projects of another organisation are never included, even where the caller collaborates on them. Percentiles, means and rework rates are computed from the raw samples of the whole set, never by merging per-project summaries. At most 100 projects are aggregated, the most recently updated first: totalProjectCount reports how many the caller can read, projectCount how many were aggregated, and truncated is true whenever they differ or any internal row cap clipped the reads. The window is range days ending at the SERVER’s now, sampled daily; the returned window reports the one actually served. Requires full tasks.read, any projects.read and an active membership in the active organisation. Residuals a chart reader must not misread as data are documented at /modules/project-tracker/flow.
Request
Responses
- 200
- 400
- 401
- 403
Successful response
A range other than 7, 30, 90; range supplied more than once; or any of from, to or interval supplied.
Unauthorized — no authenticated user.
Forbidden — no valid tenant context, or the caller lacks full tasks.read, any projects.read or an active membership in the active organisation. Returned before any metric is read.