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

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