Ability to get recommendations for multiple shifts in a single API call
complete
Jurriaan Persyn
Today, the recommendations endpoint only accepts a single shift per request. Getting recommendations for multiple unassigned shifts requires making separate API calls for each one, which is inefficient and adds unnecessary latency for clients managing larger sets of open shifts.
The request is to support submitting multiple shifts in a single recommendations call, with results returned per shift. This would also unlock a "which shift to assign next" use case, where results are ordered globally across all submitted shifts rather than per shift individually.
Log In
Brecht De Moor
updated the status to
complete
We're excited to let you know that this feature is now available since ESS model v1.29.0.
You can now get recommendations for multiple shifts in a single API call, via two endpoints:
recommend-employees-batch-per-shift returns a ranked list per shift, so you can fill shifts independently. recommend-employees-batch-global returns a single ranked list across all shifts, answering "which shift should I assign next?"
See the batch recommendations docs for details: https://docs.timefold.ai/employee-shift-scheduling/latest/recommendations#_batch_recommendations
Thank you for sharing your feedback, it helps us make Timefold even better for you.
Brecht De Moor
Product Manager
Jurriaan Persyn
updated the status to
in progress
Jurriaan Persyn
updated the status to
planned