Start available robot though API

Hi fellow developers

whenever I start a robot through an API, I have to hardcode the robot IDs I would like to run the process on. I’d rather start a robot whom is available in the environment (and not a specific robot)

can someone help?