the stat_ngin api will intelligently handle both a single id or an array of ids. so you should be able to use the list method with an array of either flight_ids or flight_stage_ids (perhaps both if need be).