These results indicate BAIBA plays crucial anti-apoptotic and hepatic protective roles in type 2 diabetes. Here, AGXT2 is linked to type 2 diabetes mellitus.