Actions31
- Alert Actions
- Collector Actions
- Datasource Actions
- Device Actions
- Device Group Actions
- SDT (Scheduled Downtime) Actions
Device Group → Get
AI-generatedSummary
Retrieve a device group by ID.
Inputs
- groupId (required) — The ID of the device group to retrieve
Output shape
array containing one item with a 'json' property holding the device group object as returned by the LogicMonitor API
The node's
executemethod callsdeviceGroups.get, which performs a GET request to/device/groups/${groupId}and formats the response viaresponseFormatter.formatResponse. If the API returns a single object, the node outputs[{ json: <group data> }].
Examples
Example 1: Fetch a specific device group
Set 'Group ID' to the numeric ID of the desired device group. No other parameters are required.