Added get graph api method