add support for grape api