API for getting scenario