API: cycle_code -> cycle_id