Is there any way to query the slaves that exist or are running on a given host, either via the REST API or deadlinecommand, or am I limited to manually querying that info directly from the database?
Mmm, doesn’t look like we have anything that does that at the moment. It’d definitely be a good candidate for adding, though, I could see several potential use-cases.
If you’re going to query directly from the DB in the meantime, keep in mind that the machine name is not indexed in the stock deadline DB, so the query would be relatively slow.