Issue Summary
Currently, we can create the 'Group By' configuration in a Plan view only from the UI, it will good to have an API to create or update Group by settings.
It will also be good if there is an Automatic way of creating the Group by configuration.