Unable to get modern robots details by using orchestrator HTTP request

Hi all,

We were able to get robot details using Orchestrator HTTP request before deprecation of classic folders. but after deprecation of classic folders from 21.4.4 updates, when we created new robots in modern folder we are unable to get robot details using endpoints which UiPath provided “/odata/robots”. Its showing robot count as 0. We need robot id to start the process.

Can any one help on this.

Hi
We are having the same issue.
Here is the response:
{“@odata.context”:“https://cloud.uipath.com/“+{orgname}+”/Delivery/orchestrator_/odata/$metadata#Robots",“@odata.count”:0,"value”:}

Try this GET endpoint:

https://YOUR_ORCHESTRATOR_HOSTNAME/odata/Robots/UiPath.Server.Configuration.OData.GetRobotsFromFolder(folderId=FOLDER_ID)