rs batch api