# Retrieve Alarms by group

**URL:** <https://community.cumulocity.com/t/retrieve-alarms-by-group/5922>\
**Category:** Forum\
**Tags:** Cumulocity-Services, Client-library, cumulocity\
**Created:** [September 29, 2020, 10:53am UTC](https://community.cumulocity.com/t/retrieve-alarms-by-group/5922 "2020-09-29T10:53:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![gianmarcodragonetti](https://avatars.discourse-cdn.com/v4/letter/g/8c91f0/32.png) [@gianmarcodragonetti](https://community.cumulocity.com/u/gianmarcodragonetti)\
**Post date:** [September 29, 2020, 10:53am UTC](https://community.cumulocity.com/t/retrieve-alarms-by-group/5922/1 "2020-09-29T10:53:14Z")

</div>

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”

---

<div class="post-metadata">

**Author:** ![Matthew\_Barnes](https://avatars.discourse-cdn.com/v4/letter/m/7c8e57/32.png) [@Matthew\_Barnes](https://community.cumulocity.com/u/Matthew_Barnes)\
**Post date:** [January 6, 2021, 9:12am UTC](https://community.cumulocity.com/t/retrieve-alarms-by-group/5922/2 "2021-01-06T09:12:33Z")

</div>

The details of the Alarm API can be found here: [https://cumulocity.com/guides/reference/openapi/](https://cumulocity.com/guides/reference/alarms/)

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

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/system/32/31990_2.png) [@system](https://community.cumulocity.com/u/system)\
**Post date:** [April 6, 2021, 9:13am UTC](https://community.cumulocity.com/t/retrieve-alarms-by-group/5922/3 "2021-04-06T09:13:29Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
