No, you are confused over terminology, that's all. Yes, a set of functions can also be an interface, that's what the I in API is - application programming interface.
yeah but you called Intuition a GUI didn't you?
It's more like an engine or handler than a gui. You dont "boot into Intuition" and click around on Intuition windows.