Answered
Documentation for 2020/2021 Illustrator SDK/Scripting Guide
I can only find https://www.adobe.com/devnet/illustrator/scripting.html
which only goes until 2017 and some of the VB commands are different in the newer versions. I used to be able to find the recent versions but can't anymore.
