API for manipulating gas/liquid levels