A scripting guide and API reference resides in Bitwig Studio under Help > Documentation > Developer Resources.