Get Next Schedule
Generate, retain, and return exactly one next schedule for a session.
Args: schedule_id: Unique identifier of the generation session to advance.
Returns: The newly generated schedule, its zero-based index, and total retained count.
Raises: HTTPException: Status 404 for an unknown session, 409 while generate-all is active, 400 at requested-limit or solution-space exhaustion, 408/422 for initialization problems, or 500 for unexpected generation failures.
Behavior: Background conflicts are checked both before and after lazy scheduler and generator initialization. The shared advance path holds the session lock, calls next on the Z3 executor, appends serialized and original forms atomically, blocks duplicate models through the generator, and refreshes TTL.
Path parameters
Response
Successful Response
Changes
Changed in 1 of the 6 revisions of this API.2
- ○
added the required property
schedule/items/reserve_room_during_labto the response with the200statusresponse-required-property-added
- ○
added the required property
schedule/items/times/items/deliveryto the response with the200statusresponse-required-property-added
- ○