workhorse connected to api