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
- 200
- 400
- 500
The report rows for the window.
from or to is missing or not RFC 3339, or granularity is not hour (invalid-report-query).
The analytical database could not be read (report-store-error).