add missing envelop export to api