Datto RMM

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

Account → Get Sites

AI-generated

Overview

This node operation retrieves site information from the Datto RMM account resource. It supports fetching all sites with automatic pagination or manually specifying the page number and maximum results per page. Users can filter sites by partial site name matches and select specific fields to include in the response. This operation is useful for managing and monitoring multiple sites within a Datto RMM account, such as listing all sites or searching for specific sites by name.

Use Case Examples

  1. Automatically retrieve all sites across all pages for comprehensive site management.
  2. Manually specify page and max results to control data volume when listing sites.
  3. Filter sites by partial site name to quickly find relevant sites.
  4. Select specific fields to include in the response to tailor the data output.

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 automatically.
Max Results Maximum number of results to return per page when not retrieving all results automatically.
Site Name Filter Filter sites by partial site name matches to narrow down the results.
Fields to Include Select which fields to include in the response to customize the output data.

Output

JSON

  • sites - Array of site objects retrieved from the Datto RMM account.

Dependencies

  • Datto RMM API with appropriate API key credentials

Troubleshooting

  • Ensure API credentials are correctly configured and have permissions to access site data.
  • If pagination is used, verify that page and max results parameters are valid numbers.
  • Check network connectivity and API endpoint availability if requests fail.
  • Error messages related to invalid filters or fields indicate incorrect parameter usage; verify input values.

Links

Discussion