Check a device group target before creating the group
Validate a device group target without persisting anything: it reports whether the target is well-formed, whether every criterion is device-group-targetable (build it from getDeviceGroupFiltersOptions), and how many devices it currently matches — so a target that is valid but matches nothing is caught before the group exists. It returns counts and reasons, never device objects: to see WHICH devices match a filter, use getDevices.
Authorizations
Use your Primo API key in the Authorization header as Bearer <API_KEY>.
Body
Device group target to validate. An object keyed by criterion key (from the /device-groups/filters-options catalog); each value is a clause { operationType: "INCLUDE" | "EXCLUDE", values: string[] }. Add top-level matchAny: true for OR across clauses.
Response
Whether the target can be used to create or update a device group.
Why the target is invalid — malformed clauses, or criteria that are not device-group-targetable.
How many devices the target currently matches. 0 when the target is invalid.
-9007199254740991 <= x <= 9007199254740991