Skip to main content

Decide the flow-balancing recommendation for a process path

POST 

/paths/:pathId/rebalance-decisions

Inspects a process path's live buffer telemetry (backlog vs. plan) and recommends ThrottleUpstream (a flow-fed path over its alarm threshold — slow admission upstream, Drum-Buffer-Rope with CPT as the drum), ReassignLabor (a release-fed path saturated at its WIP limit with backlog remaining — flag for headcount reassignment), or NoActionNeeded — the RebalanceDecision use case. This is a keyed POST because the decision has an effect: the first execution publishes PathThrottled or LaborReassignmentFlagged when a non-default action is recommended. The request has no body. The decision is computed, not stored as a resource, so there is no Location and no GET for it. A replay of the same Idempotency-Key returns the stored decision with Idempotency-Replayed: true and publishes nothing again; every new decision (for example each poll of a dashboard) must send a new key. When a labor plan has been observed for this path (see Labor Plan View), the response additionally includes it as extra context under laborPlan — this is additive and does not change the throttle/reassign decision logic itself.

Request​

Responses​

The computed rebalance decision (not a stored resource; no Location).

Response Headers
    Idempotency-Replayed

    Present, with value true, only when this answer is a replay of a stored earlier answer for the same Idempotency-Key.