GitLab API and GitLab GUI source code calling difference

Hi ,

I am developing regression test suite for gitlab using GitLab API,

But first I would like to know is there any difference between to calling source of GitLab API and trigger on pages source code , the underneath source code is called same from API and GUI Pages?