Datto RMM

Interact with Datto RMM API to manage devices, sites, alerts, and monitoring

Site → Get Devices

AI-generated

Overview

This node operation retrieves devices associated with a specified site in Datto RMM. It supports filtering devices by hostname, device type, operating system, and applying a specific device filter ID. Users can choose to retrieve all devices automatically with pagination or specify the page number and maximum results manually. This operation is useful for managing and monitoring devices within a particular site, enabling targeted device management and reporting.

Use Case Examples

  1. Retrieve all devices from a specific site to monitor their status and details.
  2. Filter devices by operating system within a site to perform OS-specific updates or audits.
  3. Use pagination to fetch a subset of devices for large sites to manage API load and processing.

Properties

Name Meaning
Site Select the site from the list of available sites to retrieve devices from.
Retrieve All Whether to retrieve all device results automatically using pagination or manually specify page and max results.
Page Page number for pagination when not retrieving all results automatically.
Max Results Maximum number of device results to return per page when not retrieving all results automatically.
Filter ID Device filter ID to apply, which overrides other filters if specified.
Hostname Filter Filter devices by hostname with partial matches allowed.
Device Type Filter Filter devices by device type with partial matches allowed.
Operating System Filter Filter devices by operating system with partial matches allowed.
Fields to Return Select which fields to include in the response for each device.

Output

JSON

  • devices - Array of device objects retrieved from the specified site, each containing details as per the selected fields.

Dependencies

  • Datto RMM API with appropriate API key credentials

Troubleshooting

  • Ensure the site UID is correctly selected and valid to avoid empty or error responses.
  • If using filters, verify that filter IDs and filter values are correct and applicable to the site devices.
  • Pagination parameters (page and max results) must be positive integers; otherwise, the API may return errors or unexpected results.
  • API rate limits or connectivity issues may cause request failures; check network and API status.

Links

Discussion