Advanced Device Search
advanced_device_searchPerform advanced device searches with structured queries to filter by software, tags, or inactivity status, enabling targeted device management.
Instructions
Execute an advanced device search using the Automox Advanced Device Search API's structured query language. Enables complex queries like 'find all Windows devices not seen in 30 days' or 'devices with nginx installed' using field-based filtering. Pass query as a dict with a filters list of AND/OR groups, each a list of conditions: {"filters": [{"AND": [{"scope": "SOFTWARE", "field": "pkgDisplayName", "operator": "IN", "values": ["nginx"]}]}]}. Tag search uses scope TAGS (not DEVICE): {"scope": "TAGS", "field": "tag", "operator": "IN", "values": ["Nginx"]}. Use get_searchable_fields for valid scope/field/operator combos and device_search_typeahead to discover values. The org is scoped automatically. limit sets the page size. On each returned device, outstanding_patch_severity distinguishes the string 'none' (assessed, no outstanding patches — clean) from JSON null/absent (device not yet assessed — unknown, NOT clean); see metadata.field_notes.outstanding_patch_severity. Use an org-scoped API key — global/account keys are unreliable on this endpoint and often return HTTP 403.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | ||
| limit | No | ||
| query | No | ||
| output_format | No | json |