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 → Count

AI-generated

Summary

Return the number of Datto EDR target groups, optionally narrowed by filter conditions on name or organization. Calls GET Targets/count with a LoopBack where clause.

Inputs

  • Filters — Zero or more conditions, each with a Field (Name or Organization ID), an Operator (Equals, Not Equals, Contains, Greater/Less Than or Equal, In List comma-separated) and a Value. Conditions are combined into one where clause, so they act as AND. Conditions with an empty value are skipped. Eq/gt/gte/lt/lte values that look numeric are sent as numbers. Contains is sent as %value%. In List splits the value on commas. If two conditions use the same field, the later one overwrites the earlier one. With no conditions, all targets are counted.

Output shape

A single item containing the API's count response, which is typically an object like {"count": N}.

The exact response shape comes from the Datto EDR API and is not transformed by the node. API errors (401, 403, 404, 429) are raised as node errors, or returned as {error} items if Continue On Fail is enabled.

Examples

Example 1: Count all target groups in the account

Resource: Target, Operation: Count, no filters

Example 2: Count targets whose name contains 'Server'

Filters: Field=Name, Operator=Contains, Value=Server

Links

Discussion