The non-adjusted model indicated a positive correlation between AIP levels and T2DM for both Trajectory 2 (HR = 2.25, 95% CI: 2.00, 2.52) and Trajectory 3 (HR = 2.84, 95% CI: 2.40, 3.35). Here, AIP is linked to type 2 diabetes mellitus.