why do we call foreman over the api? (does it make sense to make an external api call to yourself?)