api proxy and manager