Api code generator for stream uplined with dataset