Get Schedule Details
Return the submitted configuration and generation count for one session.
Args: schedule_id: Unique identifier returned by schedule submission.
Returns: The full combined configuration augmented with session id and current count.
Raises: HTTPException: Status 404 when the session does not exist, or status 422 if its queued scheduler initialization fails.
Behavior: Access refreshes the session's idle timestamp and awaits scheduler construction so failed initialization cannot masquerade as a usable session. The endpoint reports retained results but does not initialize or advance the model generator.
get/schedules/{schedule_id}/details
Path parameters
schedule_idstring required
Response
Successful Response
Example response
{
"config": {
"rooms": [
{
"capacity": 40,
"name": "Room 101"
}
],
"labs": [
{
"capacity": 24,
"name": "Lab 101"
}
],
"courses": [
{
"capacity": 24,
"conflicts": [
"CS 102"
],
"course_id": "CS 101",
"credits": 3,
"faculty": [
"Dr. Smith"
],
"lab": [
"Lab 101"
],
"room": [
"Room 101"
]
}
],
"faculty": [
{
"course_preferences": {
"CS 101": 5
},
"lab_preferences": {
"Lab 101": 5
},
"mandatory_days": [
"MON"
],
"maximum_credits": 12,
"maximum_days": 3,
"minimum_credits": 3,
"name": "Dr. Smith",
"room_preferences": {
"Room 101": 5
},
"times": {
"MON": [
"10:00-12:00"
],
"TUE": [
"10:00-12:00"
]
},
"unique_course_limit": 3
}
]
},
"time_slot_config": {
"classes": [
{
"credits": 3,
"meetings": [
{
"day": "MON",
"duration": 150,
"lab": false
}
],
"start_time": "10:00"
}
],
"max_time_gap": 30,
"min_time_overlap": 45
},
"limit": 10,
"optimizer_flags": [
"faculty_course",
"faculty_room",
"faculty_lab",
"same_room",
"same_lab",
"pack_rooms",
"pack_labs"
]
}