v5

latestOpenAPI 3.1.0raw.githubusercontent.com2026-07-211355122.6 KB

Get Schedule By Index

Return one previously retained schedule without advancing generation.

Args: schedule_id: Unique identifier of the containing generation session. index: Zero-based index into schedules generated so far.

Returns: The stored serialized schedule, requested index, and current total count.

Raises: HTTPException: Status 404 when either the session or requested index does not exist; the detail identifies the currently available index interval.

Behavior: Results are read directly from the append-only serialized schedule list. No scheduler initialization or generation lock is required, and retrieving a result refreshes the session's idle-expiry timestamp.

get/schedules/{schedule_id}/index/{index}

Path parameters

schedule_idstring required
indexinteger required

Response

Successful Response

schedule_idstring required
indexinteger required
total_generatedinteger required