Rancher REST API and RKE2

I’m trying to write a pipeline to create kubernetes clusters on vSphere via the Rancher REST API. Is there a documentation to the API, as I can’t find anything.