Datto EDR icon

Datto EDR

Datto EDR (Infocyte): list and manage endpoints/agents, threats/alerts, scans, targets, quarantined files, and run response actions — isolate or scan an endpoint, archive or respond to alerts, restore quarantined files. For endpoint security operations, threat triage, and EDR reporting.

Target → Get Many

AI-generated

Summary

Retrieves target groups from Datto EDR (the Targets model), either all of them or up to a limit, with optional filtering, sorting and field selection.

Inputs

  • Return All — If true, pages through the API 100 records at a time until all matching targets are fetched. It errors if the result exceeds 200 pages. Default false.
  • Limit — Maximum number of targets to return when Return All is off. Minimum 1, default 50.
  • Filters — Zero or more conditions, each with a Field (Name or Organization ID), an Operator (equals, not equals, contains, greater/less than, in list), and a Value. Conditions with an empty value are ignored. Numeric-looking values are converted to numbers for eq/gt/gte/lt/lte. Contains wraps the value in % wildcards. In List splits the value on commas.
  • Options > Order — LoopBack sort string, e.g. "createdOn DESC".
  • Options > Fields — Comma-separated list of fields to include in each returned record.
  • Options > Where (JSON) — Raw LoopBack where clause as JSON. It is merged over the Filters, so its keys override filter conditions on the same field. Invalid JSON is silently ignored.

Output shape

One n8n item per target record returned by the API's Targets endpoint, containing the target's JSON fields.

If nothing matches, a single item is emitted: {found: 0, resource, operation}. The request runs once per input item. With Continue On Fail, errors are emitted as {error: message}. Authentication uses the Datto EDR API credential, and its Base URL must end in /api.

Examples

Example 1: List every target group in one organization

Return All = true; Filters: Field Organization, Operator Equals, Value .

Example 2: Find targets whose name contains 'Servers', newest first

Return All = false, Limit = 50; Filters: Name Contains 'Servers'; Options > Order = 'createdOn DESC'.

Example 3: Get only IDs and names of targets

Return All = true; Options > Fields = 'id,name'.

Links

Discussion