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.

Policy → Get

AI-generated

Summary

Retrieve a single Datto EDR policy by ID via GET Policies/{id}, optionally limiting the returned fields.

Inputs

  • Policy ID (required) — ID of the policy to fetch. The node throws an error if it is empty.
  • Options > Fields — Comma-separated list of fields to include in the response. Sent as the fields array in the LoopBack filter.
  • Options > Order — Sort order string. It is shown for this operation but isn't sent on a Get request.
  • Options > Where (JSON) — Raw LoopBack where clause. It is shown for this operation but isn't sent on a Get request.

Output shape

One n8n item whose JSON is the policy record returned by the Datto EDR API.

Only Fields is applied (as a filter query parameter). Order and Where (JSON) are read but ignored for Get. A missing ID raises an error. With Continue On Fail enabled, errors are output as {error: message}. API errors such as 401, 403 and 404 are reported with descriptive messages.

Examples

Example 1: Fetch a policy's full configuration by ID

Resource: Policy, Operation: Get, Policy ID: an ID from a previous Get Many step (e.g. {{$json.id}})

Example 2: Retrieve only the policy name and ID

Policy ID set; Options > Fields: "id,name"

Links

Discussion