Retrieve Alarms by group

Is it possible to retrieve alarms directly by group id? I didn’t find anything, so I thought to retrieve the list of the alarms with AlarmService, the call the InventoryService to retrieve the list of the objects in the group I want and finally filter the alarms by device id.
Unfortunately this doesn’t seem to be very performing.

I’m using this version of c8yClient.
@c8y/client": “1006.6.9”

The details of the Alarm API can be found here: https://cumulocity.com/guides/reference/alarms/

You might have to do a map/reduce on the result set