bag api added