Get a single Robot by rest api

Hello Team,
Please, i want to check if there is a job running before launching a new instance.

How can i do this via Orchestrator rest API ?

Thank you

Hi @othmen.rebai,

Welcome to UiPath Community.
If you want to check if a robot is currently running or not then you can use the command GET
https://platform.uipath.com/odata/Sessions?$top=10&$filter=Robot/Name eq ‘DocBot’&$select=State

If the response is Busy, it means the Bot is running.

You can refer to the below link, for different capabilities using rest API’s

https://docs.uipath.com/orchestrator/reference#building-api-requests

3 Likes