Then the end point looks like this
https://cloud.uipath.com/{organization_ID}/{tenant_name}/orchestrator_/swagger/index.html
To get org id and tenant name follow the below
Admin → select tenant under tenants → srvices → under orchestrator click show more options(3dots) → select api access → you will have information here
Appended that in above url and use it
Cheers