reduce number of api graphs