How to set runner to pipeline, programatically

I want to programatically assign runner to pipeline such that new job runs on specific machine.
Please guide me to achieve this
Best Regards

If I understand you correctly, you can use tag to specify matching between runners and jobs

Thanks, dosuken.
Sorry I am not clear enough, what i want to do is run a build job programatically by specifying tag. I think it is boiling down to parametrized builds, where we can inject runner tag(s), and an API to initiate build, with new values.