Skip to main content

Labor utilization and staffing per process path and UTC hour

GET 

/reports/labor

Returns one row per (pathId, hour bucket) in the half-open window [from, to) compared against hourBucket, ordered by hour bucket then path. An empty window is a 200 with an empty rows array, not a 404.

Path-scoped counters (laborAssigned, laborReassigned, understaffingEvents) land on the row of their path. Associate-scoped counters (shiftsStarted, shiftsEnded, breaks, avgBreakSeconds, certifications) land on the row whose pathId is the empty string.

Request​

Responses​

The report rows for the window.