Parameters for the /api/scheduledservice endpoint.
Attributes: start_date: Start of date range. end_date: End of date range. route_id: Optional route filter. None returns all routes. agg: Aggregation level — daily, weekly, or monthly.
Success
Response for /api/scheduledservice — scheduled service counts and hours.
Attributes: start_date_service_levels: Service levels at the start of the date range. end_date_service_levels: Service levels at the end of the date range. counts: Scheduled trip counts keyed by date string. service_hours: Service hours keyed by date string.
Service levels grouped by day type.
Attributes: weekday: Weekday service breakdown. saturday: Saturday service breakdown. sunday: Sunday service breakdown.