api of pipebox