Use REST API for automatic agent deployment

In the meantime, is there any API call that can be used to find the agent_hash for a host?