small description of gateway API