Do we even have any API?  I mean, this is a mode, not a library.  I'd say everything is just internal API here, and the API is just what's provided by Emacs to interact with the current major mode.