I would change it to a nested route under hosts, e.g.
```
/api/hosts/discovery
```