Actions60
- Agent Actions
- Alert Actions
- Box Actions
- Extension Actions
- Flag Actions
- Location Actions
- Organization Actions
- Policy Actions
- Quarantined File Actions
- Report Actions
- Suppression Rule Actions
- Target Actions
- User Actions
- Webhook Actions
Target → Get
AI-generatedSummary
Retrieves a single Datto EDR target group by ID via GET Targets/{id}, optionally limiting returned fields.
Inputs
- Target ID (required) — ID of the target group to fetch. The node throws an error if it is empty.
- Options > Fields — Comma-separated list of field names to include in the response. Sent as the
fieldsentry of the LoopBack filter query. - Options > Order — Sort order string (e.g. "createdOn DESC"). It is shown in the UI but ignored by Get, since only fields and include are sent.
- Options > Where (JSON) — Raw LoopBack where clause. It is shown in the UI but ignored by Get, since only fields and include are sent.
Output shape
One output item per input item, containing the target record as JSON (all fields, or only those listed in Fields).
A 404 or other API error raises a node error, or an item with an
errormessage if Continue On Fail is enabled. If the API returns nothing, the item is{found: 0, resource, operation}.
Examples
Example 1: Look up a target group's details from an ID produced by an earlier step.
Resource: Target, Operation: Get, Target ID: {{$json.targetId}}
Example 2: Fetch only the name and description of a target group.
Target ID: abc123; Options > Fields: "id,name,description"