tie the osapi request to the deferred