Datto RMM

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

Account → Get All Devices

AI-generated

Overview

This node operation retrieves all devices associated with an account from the Datto RMM API. It supports both automatic pagination to fetch all results or manual pagination with specified page number and maximum results per page. Users can apply various filters such as hostname, device type, operating system, and site name to narrow down the device list. Additionally, advanced filtering allows for complex multi-field conditions to be applied after the API results are returned. This operation is useful for IT administrators and managed service providers who need to manage and monitor devices within their network efficiently.

Use Case Examples

  1. Automatically retrieve all devices across all pages for comprehensive device management.
  2. Manually retrieve a specific page of devices with a limit on the number of results for targeted queries.
  3. Filter devices by hostname or operating system to focus on specific device groups.
  4. Use advanced filters to apply complex conditions such as device status, antivirus status, or patch management details.

Properties

Name Meaning
Retrieve All Whether to retrieve all results automatically using pagination, or manually specify page and max results.
Page Page number (1-based) to retrieve when not retrieving all results.
Max Results Maximum number of results to return per page when not retrieving all results.
Filter ID Apply a specific device filter (overrides other device filters).
Hostname Filter Filter devices by hostname (partial matches supported). When multiple input items are provided, each item's hostname will be searched individually.
Device Type Filter Filter devices by device type (partial matches supported).
Operating System Filter Filter devices by operating system (partial matches supported).
Site Name Filter Filter devices by site name (partial matches supported).
Use Advanced Filters Whether to use the advanced filtering system for more complex conditions.
Filter Conditions Define multiple filter conditions to apply to the device results when using advanced filters.
Filter Logic How to combine multiple filter conditions (AND or OR).
Fields to Include Select which fields to include in the response, allowing customization of the returned device data.

Output

JSON

  • devices - Array of device objects matching the filter criteria and pagination settings.

Dependencies

  • Datto RMM API with appropriate API key credentials

Troubleshooting

  • Ensure API credentials are correctly configured and have sufficient permissions to access device data.
  • If no devices are returned, verify that the filter criteria are correct and that devices exist matching those filters.
  • Pagination parameters must be valid numbers; invalid values may cause errors or empty results.
  • Advanced filters require correct field names and operators; incorrect configurations may result in no data or errors.

Links

Discussion