Additionally, as shown in Table 4, further analysis indicated that the ratio of apolipoprotein B to apolipoprotein A1 levels mediated the relationship between BMI and cholelithiasis risk, with the mediated proportion of -2.38%. Here, APOB is linked to cholelithiasis.