Your First API Call
Test the Fill solver with a single command:This queues a demo problem for solving and returns a job id, e.g.
{"id": "job-123", "status": "QUEUED"}. Replace YOUR_API_KEY with your actual API key from the dashboard.Basic Fill Request
A Fill request requires two things: employees (your workforce) and shifts (time slots to fill)./v2/fill/solve queues the problem and returns immediately with a job id — it does not wait for the solver to finish:
Queued
Retrieving the Solution
Solving happens asynchronously. Poll the status endpoint untilstatus is SOLVED, then fetch the solution.
Understanding the Response
Once the job status isSOLVED, GET /v2/fill/jobs/{id}/solution returns the optimized shift assignments:
Solution
boolean
true if all hard constraints are satisfied (skills match, no conflicts)array
List of shift-employee pairings with timing details
Key Concepts
Next Steps
Rules & Constraints
Add working day limits, sequences, and labor rules
Patterns
Define preferred or prohibited shift sequences
Fairness
Distribute workload evenly across employees
Request Schema
Complete request format documentation