AIP and autoimmune pancreatitis: Moreover, the AIP partially mediated the association between the BRI and depression, accounting for approximately 8.64% (95% CI: 2.04-16.00%) of the total effect.<h4>Conclusion</h4>The BRI was positively associated with depression, with the AIP playing a mediating role.