Is there an API to check if the robot is running or on standby?

As the title says, I want to check whether the robot is in use or not, and if it is in use, I want to see what kind of work you are doing. Does an API exist?

@sgkim

You can filter the get jobs api with robot name…and if returned can check the releasename or process name to know which process it is being used for

<orchestratorurl>/swagger/index.html will give you details about end point

Cheers

I’m trying to get a full robot list and match the robot with the most recently used task to get a list.
I’ve imported the entire robot list now and matched it with work, how can I get the robot’s status?
For example → (online, offline, working)

Fine

You can try the below endpoint,

Here you can get the robot status

Sessions/Sessions_GetMachineSessionsByKey

Hope this helps

Cheers @sgkim


Is there an API to get the information on this page?
url → /orchestrator_/global-monitoring/unattended

1 Like

Yeah this is the url

Check this doc for more steps

Or you can use swagger like above image to test it out
To open swagger for your url

The Orchestrator API Swagger definition can be accessed as follows, depending on your deployment type:

  • on-premise - append /swagger/index.html to your on-premises Orchestrator URL. For example, https://myOrchestrator.com/swagger/index.html.
  • Automation Cloud - append the organization and tenant name, as well as orchestrator_/swagger/index.html to the cloud base URL. For example, https://cloud.uipath.com/{organization_name}/{tenant_name}/orchestrator_/swagger/index.html.

Find your {organization_name} and {tenant_name} in the API Access page of your Automation Cloud account.

  • Automation Suite - append the organization and tenant name, as well as orchestrator_/swagger/index.html to your Automation Suite base URL, following the syntax: https://AutomationSuiteURL/{organization_name}/{tenant_name}/orchestrator_/swagger/index.html. For example, to access the Swagger for an Automation Suite deployment of Orchestrator, a possible link could be https://myasuite.westeurope.cloudapp.azure.com/docs/DefaultTenant/orchestrator_/swagger/index.html.

Cheers @sgkim

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.