The game uses Lua for a large portion of its code, including for practically every entity in the game (Raz, Censors, etc.) as well as level scripting. As such the API is incredibly extensive.
As the engine itself is proprietary and in-house by Double Fine, some parts of it may be unclear or opaque for modders, hence why this documentation exists.