remote api definitions