Thanks @ndintenfass.
I am aware of this method. However, I wrote an API client package and for this I would need an explicit api endpoint to support linting
I filed a bug 3 months ago about the CLI validate tool not using the same validation rules/grammar as the actual parser on the CI servers. Useless as a validator as a result; passes things that don’t work on the server.