Skip to content

Filtering Devices

The device list takes a structured $filterV2 document in its filter query parameter. So does device/group-by, which counts the devices per value of a field. The MCP server’s search_devices and group_devices tools use the same conditions.

filter
{
"$filterV2": {
"search": "laptop",
"anyOf": [
{ "allOf": [ <condition>, <condition> ] },
{ "allOf": [ <condition> ] }
]
}
}
  • anyOf holds groups combined with OR. A device matches if it matches any group.
  • Each group’s allOf holds conditions combined with AND.
  • search is free text matched against name, userInventory.fullName and userInventory.userPrincipalName. With both search and anyOf, a device must match both.
  • Without a filter parameter, every device is returned.

URL-encode the JSON when you put it in the query string.

condition
{
"field": "software.failedPatchCount",
"operator": "GT",
"values": ["0"],
"negate": false
}
  • field: a field from the tables below.
  • operator: one of that field’s operators.
  • values: one or more values, always as strings, also for numbers, booleans and dates, for example ["16"] or ["true"].
  • negate: optional. true inverts the condition, so CONTAINS becomes “does not contain”. On an inventory field, it matches the devices that have no such row. It doesn’t pick out the other rows: to leave rows out, for example Microsoft’s applications, request them all and drop those yourself.
Operator Matches when
EQ Equal to the value.
IN Equal to any of the values.
CONTAINS Contains any of the values (OR).
STARTS_WITH / ENDS_WITH Starts or ends with the value.
ALL The array contains every one of the values. tags and groups only.
GT / GTE / LT / LTE Greater than, greater than or equal, less than, less than or equal. Numbers and dates.
EXISTS The field has a value. An empty list, such as a device without tags, has none. The value must be exactly "true" or "false".
WITHIN_LAST_MINUTES / _HOURS / _DAYS / _WEEKS / _MONTHS / _YEARS Dates only, counted back from now: WITHIN_LAST_DAYS ["1"] is the last 24 hours. The value must be one positive whole number, for example ["30"].
Field type Operators
STRING EQ, CONTAINS, STARTS_WITH, ENDS_WITH, IN, EXISTS
NUMBER EQ, GT, GTE, LT, LTE, IN, EXISTS
BOOLEAN EQ, EXISTS
DATE EQ, GT, GTE, LT, LTE, EXISTS, WITHIN_LAST_MINUTES, WITHIN_LAST_HOURS, WITHIN_LAST_DAYS, WITHIN_LAST_WEEKS, WITHIN_LAST_MONTHS, WITHIN_LAST_YEARS
ID EQ, IN, EXISTS

Two fields also take ALL: tags, and groups, which takes EQ, IN, ALL and EXISTS only.

The tables below list every field a filter accepts. To read the same list from the API, call GET …/mcp/filterFields. It returns each field with its type, its operators and its category:

GET …/mcp/filterFields
[
{
"field": "lastCheckIn",
"type": "DATE",
"operators": ["EQ", "GT", "GTE", "LT", "LTE", "EXISTS", "WITHIN_LAST_MINUTES", "WITHIN_LAST_HOURS", "WITHIN_LAST_DAYS", "WITHIN_LAST_WEEKS", "WITHIN_LAST_MONTHS", "WITHIN_LAST_YEARS"],
"category": "device",
"pattern": false
},
{
"field": "hardwareInventory.Computer.SystemSKU",
"type": "STRING",
"operators": ["EQ", "CONTAINS", "STARTS_WITH", "ENDS_WITH", "IN", "EXISTS"],
"category": "hardwareInventory.Computer",
"pattern": false
}
]
  • category is device for the fields in Device fields, hardwareInventory.<Category> for hardware fields, and softwareInventory or driverInventory.
  • A field with pattern true names a shape. Replace <configurationType> with a configuration type, for example configs.AdminOnDemand.
  • Your custom inventory fields aren’t in this list. See Custom inventory fields.

The MCP tool list_filterable_fields reads the same list. Without arguments it returns the device fields and the inventory categories with their field counts. With a category, it returns that category’s fields.

Field Type Notes
_id ID Device id (24-hex ObjectId). Same as id.
id ID Device id (24-hex ObjectId). Same as _id.
name STRING Device name: the host FQDN the Windows agent reports (DNS host name).
deviceType STRING Desktop, Laptop, Server or Virtual, from chassis type and VM detection. Same as Computer.PC Type.
online BOOLEAN True while the agent holds a live connection to CapaOne.
virtual BOOLEAN True if the agent detected a VM (VMware, Hyper-V, VirtualBox, Nutanix, …).
state STRING Agent work state: READY (idle), BUSY (running a job), pending (patch queued). Use online for connectivity.
lastUpdate DATE Time of the agent’s last startup handshake with CapaOne (service start/reconnect), not inventory time.
lastCheckIn DATE Last time the agent was connected; refreshed periodically while online. Use for “seen in last N days”.
osName STRING OS caption, e.g. “Microsoft Windows 11 Pro”. Preferred over Operating System.Name/Edition.
osVersion STRING OS release and build, e.g. “Release 25H2 (10.0.26200)”.
platform STRING Agent platform: win_x64, win_x86 (older data: win_x32) or mac_arm.
motherboardUuid STRING SMBIOS system UUID (Win32_ComputerSystemProduct). Same value as Computer.UUID; use this one.
motherboardSerial STRING Device serial / service tag (Win32_BIOS.SerialNumber). Preferred field for a device serial lookup.
osSerial STRING Windows Product ID (e.g. 00355-62667-17845-AAOEM), not a hardware serial. Same as Operating System.Serial Number.
tags STRING Device tags (array). ALL matches devices carrying every listed tag.
webUrl STRING URL of the agent’s local web endpoint, http://:.
agentVersion STRING CapaOne agent version, reported at agent start. Preferred over Agent Information.CapaOneAgent Version.
osStartUp DATE Last OS boot time (WMI LastBootUpTime), reported at agent start. Use for uptime/reboot questions.
serviceStartUp DATE Last CapaOne agent service start. Preferred over Operating System.Service StartUp.value.
software.compliant BOOLEAN True when no app patches are pending, failed or installing and no patch awaits a reboot.
software.patchCount NUMBER Number of app patches available, failed or installing on the device.
software.failedPatchCount NUMBER Number of app patches whose install failed.
software.severity NUMBER Highest severity among available app patches: 0 none, 1 low, 2 medium, 3 high.
driver.compliant BOOLEAN True when the matched CapaOne driver pack has no pending driver updates. Check driver.isSupported too.
driver.patchCount NUMBER Number of driver updates available from the matched driver pack.
driver.isSupported BOOLEAN True if a CapaOne driver pack matches the model (manufacturer, model, SystemSKU, BaseBoardProduct).
userInventory.userPrincipalName STRING UPN of a user recorded on the device by the agent’s user inventory.
userInventory.fullName STRING Display name of a user recorded on the device by the agent’s user inventory.
groups ID Ids of the groups that list the device. IN = member of any, ALL = member of all, EXISTS = in some group.
configs.<configurationType> STRING Configuration of that type linked to the device, e.g. configs.AdminOnDemand, configs.DriverInstaller.
configs.<configurationType>.configId ID Id of the configuration of that type linked to the device.
configs.<configurationType>.linkingMethod STRING How it is linked: “Assigned direct”, “Assigned via group”, “Applied direct”, “Applied via group”.

You can also filter on these fields of a device’s hardware, software and driver inventory, spaces and spelling included. Any other field of these inventories returns 400.

  • hardwareInventory.<Category>.<Field>: one row per disk, battery and so on in that category.
  • softwareInventory.<Field> and driverInventory.<Field>: one row per application or driver.
  • A field that ends with .value is a number or date with a unit. Filter on it in the unit given in its notes, for example bytes.
Field Type Notes
hardwareInventory.Agent Information.CapaOneAgent Version STRING Agent version as of the last hardware scan. Prefer agentVersion.
hardwareInventory.Agent Information.Scripting Library Version STRING Version of the CapaOne scripting library (DLL) on the device.
hardwareInventory.Agent Information.Scripting Library STRING Scripting library version under its old key; very old agents only. Use Scripting Library Version.
hardwareInventory.Agent Information.AdminOnDemand_exe Version STRING Version of AdminOnDemand.exe on the device.
hardwareInventory.Agent Information.Collected.value DATE When the agent collected this hardware inventory (date).
Field Type Notes
hardwareInventory.Batteries.Maximum Capacity.value NUMBER Battery health in percent: full-charge capacity vs design capacity.
hardwareInventory.Batteries.Name STRING “ ” of the battery, or “External battery” for a portable one.
hardwareInventory.Batteries.Chemistry STRING Battery chemistry, e.g. “Lithium-ion”, “Lithium Polymer”.
hardwareInventory.Batteries.Manufacturer STRING Battery maker (BatteryStaticData).
hardwareInventory.Batteries.Serial Number STRING Battery serial number, not a device serial.
hardwareInventory.Batteries.Model STRING Battery model/name (Win32_Battery.Name).
hardwareInventory.Batteries.Availability STRING Battery availability, e.g. “Running/Full Power”, “Power Save - Unknown”.
hardwareInventory.Batteries.Device ID STRING Win32_Battery device id.
hardwareInventory.Batteries.Status STRING WMI status string, normally “OK”.
hardwareInventory.Batteries.Voltage.value NUMBER Design voltage in volts, one decimal (e.g. 11.5).
hardwareInventory.Batteries.Capacity.value NUMBER Design capacity in mAh (design mWh, rounded up to 1000, divided by voltage).
Field Type Notes
hardwareInventory.Bios Information.Manufacturer STRING BIOS vendor (e.g. “American Megatrends”), not the device maker. Use Computer.Manufacturer.
hardwareInventory.Bios Information.Version STRING Win32_BIOS.Version, vendor-prefixed, e.g. “DELL - 1072009”.
hardwareInventory.Bios Information.Name STRING BIOS caption (Win32_BIOS), usually the BIOS version string.
hardwareInventory.Bios Information.Release Date.value DATE BIOS release date (date).
hardwareInventory.Bios Information.Serial Number STRING Win32_BIOS.SerialNumber, same value as motherboardSerial; prefer motherboardSerial.
hardwareInventory.Bios Information.SMBios Major Version NUMBER SMBIOS major version; written by older agents only.
hardwareInventory.Bios Information.SMBios Minor Version NUMBER SMBIOS minor version; written by older agents only.
hardwareInventory.Bios Information.System Bios Major Version NUMBER System BIOS major version number (Win32_BIOS).
hardwareInventory.Bios Information.System Bios Minor Version NUMBER System BIOS minor version number (Win32_BIOS).
Field Type Notes
hardwareInventory.Computer.Manufacturer STRING Device maker (Win32_ComputerSystem), e.g. “Dell Inc.”, “LENOVO”, “HP”. Preferred manufacturer field.
hardwareInventory.Computer.Model STRING Model (Win32_ComputerSystem.Model); on Lenovo the friendly name, e.g. “ThinkPad T490s”.
hardwareInventory.Computer.Name STRING Computer model (current agents put the model here, not the host name). Same as Computer.Model.
hardwareInventory.Computer.Computer Name STRING NetBIOS host name; written by older agents only. Use name for the device name.
hardwareInventory.Computer.System Type STRING WMI system type, e.g. “x64-based PC”.
hardwareInventory.Computer.Time Zone STRING Time zone display name, e.g. “(UTC+01:00) Brussels, Copenhagen, Madrid, Paris”.
hardwareInventory.Computer.Daylight Saving BOOLEAN True if daylight saving time is in effect (WMI DaylightInEffect).
hardwareInventory.Computer.Description STRING WMI computer description, usually “AT/AT COMPATIBLE”.
hardwareInventory.Computer.Domain STRING AD domain the device is joined to, or the workgroup name.
hardwareInventory.Computer.Domain Role STRING Standalone/Member Workstation, Standalone/Member Server, Backup/Primary Domain Controller.
hardwareInventory.Computer.Keyboard Password STRING Hardware keyboard password status: Disabled, Enabled, Not Implemented, Unknown.
hardwareInventory.Computer.PC Type STRING Desktop, Laptop, Server or Virtual. Same as deviceType.
hardwareInventory.Computer.Thermal State STRING Enclosure thermal state at boot: Safe, Warning, Critical, Unknown, …
hardwareInventory.Computer.WakeUp Type STRING What powered the device on, e.g. “Power Switch”, “LAN Remote”, “AC Power Restored”.
hardwareInventory.Computer.Status STRING WMI status string, normally “OK”.
hardwareInventory.Computer.UUID STRING SMBIOS system UUID, lower-case. Same value as motherboardUuid; prefer that.
hardwareInventory.Computer.Serial Number STRING Win32_BIOS.SerialNumber, same value as motherboardSerial; prefer motherboardSerial.
hardwareInventory.Computer.BaseBoardProduct STRING From the BIOS registry key, not WMI. Lenovo: machine type model (e.g. 20NXS0F400); HP: board id.
hardwareInventory.Computer.SystemSKU STRING From the BIOS registry key, not WMI. Dell: short id (e.g. 0E86); Lenovo: LENOVO_MT_21HK_BU_Think_FM_…
Field Type Notes
hardwareInventory.Disks.Name STRING Physical disk model/caption (Win32_DiskDrive).
hardwareInventory.Disks.Size.value NUMBER Physical disk size in bytes.
hardwareInventory.Disks.Manufacturer STRING Disk maker; when WMI has none, the first word of the model.
hardwareInventory.Disks.Serial Number STRING Physical disk serial (MSFT_PhysicalDisk), not a device serial.
hardwareInventory.Disks.Media Type STRING HDD, SSD, SCM or Unspecified.
hardwareInventory.Disks.Bus Type STRING Disk bus, e.g. NVMe, SATA, SAS, USB, RAID.
hardwareInventory.Disks.Health Status STRING Storage health: Healthy, Warning, Unhealthy or Unknown.
hardwareInventory.Disks.Capabilities STRING Comma-separated disk capabilities, e.g. “Random Access, Supports Writing”.
hardwareInventory.Disks.Availability STRING WMI availability, e.g. Running, Power Save, Unknown.
hardwareInventory.Disks.Device ID STRING PnP device instance id of the disk.
hardwareInventory.Disks.Status STRING WMI status string, normally “OK”.
hardwareInventory.Disks.Status Info STRING WMI status info: Enabled, Disabled, Not Applicable, Unknown, Other.
Field Type Notes
hardwareInventory.Display Adapters.Name STRING GPU name (Win32_VideoController).
hardwareInventory.Display Adapters.Manufacturer STRING GPU maker from the PCI vendor id, else WMI AdapterCompatibility.
hardwareInventory.Display Adapters.GPU Memory.value NUMBER Adapter RAM in bytes (WMI AdapterRAM; tops out near 4 GB).
hardwareInventory.Display Adapters.Driver Version STRING Display driver version.
hardwareInventory.Display Adapters.Driver date.value DATE Display driver date (date). Lower-case “date” in the key.
hardwareInventory.Display Adapters.Max Refresh Rate NUMBER Max refresh rate in Hz (plain number).
hardwareInventory.Display Adapters.Min Refresh Rate NUMBER Min refresh rate in Hz (plain number).
hardwareInventory.Display Adapters.Device ID STRING PnP device instance id of the GPU.
hardwareInventory.Display Adapters.Video Memory Type STRING Video memory type, often “Unknown”.
hardwareInventory.Display Adapters.Video Architecture STRING Video architecture, e.g. VGA, SVGA, Unknown.
hardwareInventory.Display Adapters.Video Mode Description STRING Current video mode, e.g. “1920 x 1080 x 4294967296 colors”.
hardwareInventory.Display Adapters.Status STRING WMI status string, normally “OK”.
hardwareInventory.Display Adapters.Status Info STRING WMI status info: Enabled, Disabled, Not Applicable, Unknown, Other.
Field Type Notes
hardwareInventory.Drives.Name STRING Logical volume (Win32_LogicalDisk), e.g. “C: (Local Fixed Disk)”. Network drives excluded.
hardwareInventory.Drives.Size.value NUMBER Volume size in bytes.
hardwareInventory.Drives.Free Space.value NUMBER Free space on the volume in bytes.
hardwareInventory.Drives.Encrypted BOOLEAN True if BitLocker reports the volume fully encrypted or encrypting.
hardwareInventory.Drives.Type STRING Drive type, e.g. “Local Disk”, “Removable Disk”, “Compact Disc”.
hardwareInventory.Drives.Media STRING Media type, e.g. “Fixed hard disk media”, “Removable media other than floppy”.
hardwareInventory.Drives.File System STRING File system, e.g. NTFS, FAT32, ReFS.
hardwareInventory.Drives.Access STRING Media access, e.g. “Read/Write Supported”.
hardwareInventory.Drives.Boot Device BOOLEAN True for the volume holding the OS boot partition (normally C:).
hardwareInventory.Drives.Compressed BOOLEAN True if the volume is NTFS-compressed.
hardwareInventory.Drives.Serial Number STRING Volume serial number (hex), not a disk or device serial.
hardwareInventory.Drives.Supports Quotas BOOLEAN True if the volume supports disk quotas.
hardwareInventory.Drives.Supports Compression BOOLEAN True if the volume supports file-based compression.
Field Type Notes
hardwareInventory.IP Configuration.Name STRING Host name from the IP stack (short name, no domain).
hardwareInventory.IP Configuration.Domain Name STRING DNS domain of the host, e.g. “corp.example.com”.
hardwareInventory.IP Configuration.DHCP Scope STRING DHCP scope name, usually empty.
hardwareInventory.IP Configuration.WINS Proxy Enabled BOOLEAN True if the host acts as a WINS proxy.
hardwareInventory.IP Configuration.Node Type STRING NetBIOS node type, e.g. Hybrid, Broadcast, Unknown.
Field Type Notes
hardwareInventory.Keyboards.Name STRING Keyboard description (Win32_Keyboard).
hardwareInventory.Keyboards.Manufacturer STRING Keyboard maker (PnP entity).
hardwareInventory.Keyboards.Caption STRING Keyboard caption (Win32_Keyboard).
hardwareInventory.Keyboards.Availability STRING WMI availability, e.g. Running, Unknown.
hardwareInventory.Keyboards.Keyboard Layout.value STRING Keyboard layout as a culture name, e.g. “da-DK” (text).
hardwareInventory.Keyboards.Function Keys NUMBER Number of function keys.
hardwareInventory.Keyboards.Device ID STRING PnP device instance id of the keyboard.
hardwareInventory.Keyboards.Status STRING WMI status string, normally “OK”.
hardwareInventory.Keyboards.Status Info STRING WMI status info: Enabled, Disabled, Not Applicable, Unknown, Other.
Field Type Notes
hardwareInventory.Memory.Total Memory.value NUMBER Installed RAM in bytes (sum of all banks). Use this for “devices with N GB RAM”.
hardwareInventory.Memory.Name STRING Memory array name, normally “Physical Memory Array”.
hardwareInventory.Memory.Location STRING Where the memory array sits, normally “System board or motherboard”.
hardwareInventory.Memory.Total Banks NUMBER Number of memory slots on the board.
hardwareInventory.Memory.Available Banks NUMBER Number of empty memory slots.
hardwareInventory.Memory.Max Memory.value NUMBER Maximum RAM the board supports, in bytes.
Field Type Notes
hardwareInventory.Memory Banks.Name STRING Bank label (Win32_PhysicalMemory.BankLabel), e.g. “BANK 0”.
hardwareInventory.Memory Banks.Manufacturer STRING Memory module maker.
hardwareInventory.Memory Banks.Capacity.value NUMBER Size of one module in bytes. For total RAM use Memory.Total Memory.value.
hardwareInventory.Memory Banks.Speed.value NUMBER Module rated speed in Hz (e.g. 3200000000 = 3200 MHz).
hardwareInventory.Memory Banks.Socket STRING Slot the module sits in (DeviceLocator), e.g. “DIMM 1”.
hardwareInventory.Memory Banks.Memory Type STRING SMBIOS memory type, e.g. DDR4, DDR5, LPDDR5.
hardwareInventory.Memory Banks.Type Detail STRING Memory type detail, e.g. “Synchronous”.
hardwareInventory.Memory Banks.Form Factor STRING Module form factor, e.g. DIMM, SODIMM.
hardwareInventory.Memory Banks.Serial Number STRING Serial number of one memory module.
hardwareInventory.Memory Banks.Part Number STRING Agent stores this as “Part number” (lower-case n), so this key matches no data.
Field Type Notes
hardwareInventory.Mice.Name STRING Pointing device name (Win32_PointingDevice).
hardwareInventory.Mice.Manufacturer STRING Pointing device maker.
hardwareInventory.Mice.Pointing Type STRING e.g. Mouse, Touch Pad, Touch Screen, Track Point.
hardwareInventory.Mice.Interface STRING Connection, e.g. USB, PS/2, Other.
hardwareInventory.Mice.Device ID STRING PnP device instance id of the pointing device.
hardwareInventory.Mice.Status STRING WMI status string, normally “OK”.
hardwareInventory.Mice.Status Info STRING WMI status info: Enabled, Disabled, Not Applicable, Unknown, Other.
Field Type Notes
hardwareInventory.Monitors.Name STRING “ ” from the monitor EDID.
hardwareInventory.Monitors.Manufacturer STRING Monitor maker, from the EDID manufacturer code.
hardwareInventory.Monitors.Model Name STRING Monitor model from the EDID friendly name, manufacturer stripped.
hardwareInventory.Monitors.Serial Number STRING Monitor EDID serial; often “0” or empty. Not a device serial.
hardwareInventory.Monitors.Max Resolution X NUMBER Widest supported resolution, horizontal pixels.
hardwareInventory.Monitors.Max Resolution Y NUMBER Vertical pixels of the widest supported resolution.
hardwareInventory.Monitors.Output Type STRING Connection, e.g. “High-Definition Multimedia Interface (HDMI)”, “Internal Laptop Display”. Use CONTAINS.
hardwareInventory.Monitors.Input Type STRING Analog or Digital.
hardwareInventory.Monitors.Monitor Width.value NUMBER Max image width in cm (EDID).
hardwareInventory.Monitors.Monitor Height.value NUMBER Max image height in cm (EDID).
hardwareInventory.Monitors.Screen Size.value NUMBER Diagonal in whole inches, computed from EDID width and height.
hardwareInventory.Monitors.Active Off Supported BOOLEAN True if the monitor supports DPMS active-off.
hardwareInventory.Monitors.Standby Supported BOOLEAN True if the monitor supports DPMS standby.
hardwareInventory.Monitors.Suspend Supported BOOLEAN True if the monitor supports DPMS suspend.
hardwareInventory.Monitors.Device ID STRING Monitor WMI instance name (PnP path).
hardwareInventory.Monitors.Product Code STRING EDID product code of the monitor.
hardwareInventory.Monitors.Production Week NUMBER Week of manufacture (EDID).
hardwareInventory.Monitors.Production Year NUMBER Year of manufacture (EDID).
Field Type Notes
hardwareInventory.Network Adapters.Name STRING Connection name, e.g. “Ethernet”, “Wi-Fi”. Loopback/tunnel excluded.
hardwareInventory.Network Adapters.Type STRING Interface type, e.g. “Ethernet”, “Wi-Fi”, “Virtual”.
hardwareInventory.Network Adapters.Description STRING Adapter description (driver name), e.g. “Intel(R) Ethernet Connection I219-LM”.
hardwareInventory.Network Adapters.Operational Status STRING Sentence describing link state, e.g. “The network interface is up; …”. Use CONTAINS.
hardwareInventory.Network Adapters.Physical Address STRING MAC address, upper-case with dashes, e.g. “84-69-93-7F-2F-C5”.
hardwareInventory.Network Adapters.Speed.value NUMBER Link speed in bits per second (e.g. 1000000000 = 1 Gbps).
hardwareInventory.Network Adapters.Suports Multicast BOOLEAN Misspelled legacy key from old agents; current agents store “Supports Multicast”, not filterable.
hardwareInventory.Network Adapters.Is Receive Only BOOLEAN True if the interface only receives.
hardwareInventory.Network Adapters.DHCP Enabled BOOLEAN True if IPv4 DHCP is enabled on the adapter.
hardwareInventory.Network Adapters.MTU NUMBER IPv4 MTU in bytes.
hardwareInventory.Network Adapters.APIPA Enabled BOOLEAN True if automatic private addressing (169.254.x.x) is enabled.
hardwareInventory.Network Adapters.APIPA Active BOOLEAN True if the adapter currently uses an APIPA (169.254.x.x) address.
hardwareInventory.Network Adapters.Forwarding Enabled BOOLEAN True if IPv4 forwarding is enabled.
hardwareInventory.Network Adapters.Uses WINS BOOLEAN True if the adapter uses WINS.
hardwareInventory.Network Adapters.IPv4 Address STRING Comma list of “address (mask)”, e.g. “10.0.0.5 (255.255.255.0)”. Use CONTAINS.
hardwareInventory.Network Adapters.IPv6 Address STRING Comma list of IPv6 addresses. Use CONTAINS.
hardwareInventory.Network Adapters.Default Gateway STRING Comma list of default gateways.
hardwareInventory.Network Adapters.DHCP Address STRING Comma list: the default gateways followed by the DHCP servers. Use CONTAINS.
hardwareInventory.Network Adapters.Is Dynamic DNS Enabled BOOLEAN True if dynamic DNS registration is enabled.
hardwareInventory.Network Adapters.DNS Servers STRING Comma list of DNS server addresses.
Field Type Notes
hardwareInventory.Operating System.Architecture STRING OS bitness, “64-bit” or “32-bit”.
hardwareInventory.Operating System.Has Pending Reboot BOOLEAN True if Windows has a reboot pending (any reason), as of the last hardware scan.
hardwareInventory.Operating System.Edition STRING From the OS SKU; modern SKUs such as Pro show “Undefined”. Use osName for the edition.
hardwareInventory.Operating System.Update Build Release NUMBER UBR: build revision after the dot, e.g. 9911 in 10.0.26300.9911.
hardwareInventory.Operating System.Boot Device STRING Boot volume device path, e.g. “\Device\HarddiskVolume2”.
hardwareInventory.Operating System.Build Type STRING WMI build type, e.g. “Multiprocessor Free”.
hardwareInventory.Operating System.Encryption Level.value NUMBER OS encryption strength in bits (e.g. 256), not BitLocker. Use Drives.Encrypted for disk encryption.
hardwareInventory.Operating System.Install Date.value DATE Date Windows was installed (date).
hardwareInventory.Operating System.Service StartUp.value DATE Agent service start (date) as of the last hardware scan. Prefer serviceStartUp.
hardwareInventory.Operating System.Organization STRING Registered organization of the Windows install.
hardwareInventory.Operating System.Serial Number STRING Windows Product ID, same as osSerial; not a hardware serial.
hardwareInventory.Operating System.Locale.value STRING System locale as a culture name, e.g. “da-DK” (text, not a number).
hardwareInventory.Operating System.Language.value STRING OS UI language as a culture name, e.g. “en-US” (text, not a number).
hardwareInventory.Operating System.Service Pack STRING Service pack as “major.minor”, or “No Service Packs installed”.
hardwareInventory.Operating System.System Directory STRING Windows system directory, e.g. “C:\Windows\system32”.
Field Type Notes
hardwareInventory.Processors.Cores NUMBER Physical cores of this CPU (one row per socket).
hardwareInventory.Processors.Name STRING CPU name, (R)/(TM) stripped, e.g. “12th Gen Intel Core i9-12900K”.
hardwareInventory.Processors.Manufacturer STRING CPU vendor, cleaned, e.g. “Intel” or “AuthenticAMD”.
hardwareInventory.Processors.Clock Speed.value NUMBER Max clock speed in Hz (e.g. 3200000000 = 3.2 GHz).
hardwareInventory.Processors.Threads NUMBER Logical processors (threads) of this CPU.
hardwareInventory.Processors.Address Width.value NUMBER Address width in bits (32 or 64).
hardwareInventory.Processors.Family STRING Processor family text, e.g. “Intel Core i9 processor”.
hardwareInventory.Processors.Architecture STRING CPU architecture: x64, x86, arm64, …
hardwareInventory.Processors.L2CacheSize.value NUMBER L2 cache in bytes.
hardwareInventory.Processors.L3CacheSize.value NUMBER L3 cache in bytes.
hardwareInventory.Processors.Processor Type STRING Processor role, normally “Central Processor”.
hardwareInventory.Processors.Status STRING WMI status string, normally “OK”.
hardwareInventory.Processors.Status Info STRING WMI status info: Enabled, Disabled, Not Applicable, Unknown, Other.
Field Type Notes
hardwareInventory.SCSI Controllers.Name STRING Storage controller name (Win32_SCSIController), e.g. an NVMe or RAID controller.
hardwareInventory.SCSI Controllers.Manufacturer STRING Storage controller maker.
hardwareInventory.SCSI Controllers.Availability STRING WMI availability, e.g. Running, Unknown.
hardwareInventory.SCSI Controllers.Driver Name STRING Controller driver name (Win32_SCSIController.DriverName).
hardwareInventory.SCSI Controllers.Protocol Supported STRING Controller protocol, e.g. PCI, Unknown.
hardwareInventory.SCSI Controllers.Device ID STRING PnP device instance id of the controller.
hardwareInventory.SCSI Controllers.Status STRING WMI status string, normally “OK”.
hardwareInventory.SCSI Controllers.Status Info STRING WMI status info: Enabled, Disabled, Not Applicable, Unknown, Other.
Field Type Notes
hardwareInventory.Sound Devices.Name STRING Sound device name (PnP name or product name).
hardwareInventory.Sound Devices.Manufacturer STRING Sound device maker.
hardwareInventory.Sound Devices.Device ID STRING PnP device instance id of the sound device.
Field Type Notes
hardwareInventory.System Information.Manufacturer STRING Not written by the Windows agent; normally empty. Use Computer.Manufacturer.
Field Type Notes
hardwareInventory.Trusted Platform Module.Enabled BOOLEAN True if the TPM is enabled.
hardwareInventory.Trusted Platform Module.Name STRING TPM vendor name from its manufacturer id, e.g. “Intel”, “Infineon”.
hardwareInventory.Trusted Platform Module.Activated BOOLEAN True if the TPM is activated.
hardwareInventory.Trusted Platform Module.Owned BOOLEAN True if the TPM has an owner.
hardwareInventory.Trusted Platform Module.Manufacturer STRING TPM vendor plus its id text, e.g. “Intel (INTC)”.
hardwareInventory.Trusted Platform Module.Physical Version STRING Physical presence interface version, e.g. “1.3”.
hardwareInventory.Trusted Platform Module.Special Version STRING TPM spec version string, e.g. “2.0, 0, 1.59”; starts with the TPM version.
Field Type Notes
softwareInventory.Name STRING Application name from Add/Remove Programs (brackets removed). One row per installed app.
softwareInventory.Version STRING Installed version (DisplayVersion); may be empty.
softwareInventory.Publisher STRING Publisher; “Unknown” when the app lists none.
softwareInventory.InstallDate DATE Install date from the registry (date only).
softwareInventory.Size NUMBER Installed size in bytes (registry EstimatedSize KB x 1024); 0 when unknown. Plain number, no .value.
softwareInventory.IsSystemComponent BOOLEAN True for entries hidden from Add/Remove Programs (SystemComponent=1).
softwareInventory.UserAccount STRING “System” for machine-wide installs, else the user (DOMAIN\user) the per-user install belongs to.
softwareInventory.AppCode STRING Uninstall registry key name, upper-case: MSI ProductCode GUID or the vendor key name.
softwareInventory.Language STRING Install language as a culture name, e.g. “en-US” (default when unknown).
softwareInventory.Platform NUMBER 32 or 64 (number): which registry view/architecture the app is installed for.
softwareInventory.Uninstall STRING Uninstall command line (UninstallString).
softwareInventory.UpgradeCode STRING MSI UpgradeCode GUID, upper-case; MSI installs only.
Field Type Notes
driverInventory.Name STRING Device friendly name (Win32_PnpSignedDriver). One row per device; a “CapaOneInfo” row holds the model.
driverInventory.Driver Version STRING Installed driver version.
driverInventory.Driver Date DATE Driver date (date).
driverInventory.Manufacturer STRING Device manufacturer as the driver states it.
driverInventory.Driver Provider STRING Who published the driver, e.g. “Microsoft”, “Intel”.
driverInventory.Device ID STRING PnP device instance id.
driverInventory.Hardware ID STRING Device hardware id, upper-case, e.g. “PCI\VEN_8086&DEV_…”. Use STARTS_WITH/CONTAINS.
driverInventory.Filename STRING Not written by the current agent (it stores “Inf Name”); matches no data.
driverInventory.Category STRING Device Manager section, e.g. “Display adapters”; “CapaOneInfo” marks the model row.

Custom inventory is data your organization’s own scripts write on its devices with $cs.CustomInventory_SetValue, for example a device’s office location. Getting Started with Custom Inventory walks you through a first script. The fields are your organization’s own, so this page can’t list them. GET …/mcp/customInventory/fields lists the ones your devices report. The MCP tool list_filterable_fields lists their categories as customInventory.<Category>:

GET …/mcp/customInventory/fields
[
{
"category": "Installations",
"field": "Installer Size",
"path": "customInventory.Installations.Installer Size.value",
"type": "NUMBER",
"unit": "bytes",
"devices": 180
},
{
"category": "Office",
"field": "City",
"path": "customInventory.Office.City",
"type": "STRING",
"unit": null,
"devices": 212
}
]
  • Use a field’s path in a condition, to choose the fields a search returns, in orderBy and as the field of device/group-by. A field your devices don’t report returns 400.
  • A field takes the operators of its type, listed under Operators.
  • A value with a unit, such as a size or a date, has a path that ends with .value. Filter on it in that unit: Installer Size above is in bytes.
  • A category holds one or more instances, for example one per application, each named by its Instance field. A condition matches a device when one of its instances matches. Conditions on the same category in one allOf group must match the same instance.
  • devices is how many devices report the field. The list is updated every hour, so a field a device reports for the first time can be filtered on within an hour. The list holds at most 1,000 fields, the ones most devices report.

The devices that report version 24.08 of 7-Zip, as an instance of the Installations category:

filter
{
"$filterV2": {
"anyOf": [
{
"allOf": [
{ "field": "customInventory.Installations.Instance", "operator": "EQ", "values": ["7-Zip"] },
{ "field": "customInventory.Installations.Version", "operator": "EQ", "values": ["24.08"] }
]
}
]
}
}

By default each device comes back as a summary. Add projection to get exactly the fields you need instead, for example projection=name,motherboardSerial,hardwareInventory.Computer.Model:

device
{
"id": "6750a85194b9b276ae01744a",
"name": "DKSOLLAP014",
"motherboardSerial": "PW0EYTGZ",
"hardwareInventory.Computer.Model": ["ThinkPad P1 Gen 7"]
}
  • Any field you can filter on, including inventory fields, at most 20. An unknown field returns 400.
  • orderBy takes the same field names, for example orderBy=hardwareInventory.Computer.Model,desc. An unknown field returns 400.
  • id is always included.
  • Inventory fields come back as a list, one value per disk, battery, application or custom inventory instance.
  • With conditions on that inventory in every anyOf group, only the rows the filter matched come back. Filtering on softwareInventory.Name TeamViewer and asking for softwareInventory.Version gives the TeamViewer version alone.
  • Software and driver fields need such a filter, or the request returns 400. For all applications of one device, use the get_device MCP tool with include software. Hardware and custom inventory fields without one return every row.

Online devices with missing software patches, or devices tagged both finance and laptop:

filter
{
"$filterV2": {
"anyOf": [
{
"allOf": [
{ "field": "online", "operator": "EQ", "values": ["true"] },
{ "field": "software.compliant", "operator": "EQ", "values": ["false"] }
]
},
{
"allOf": [
{ "field": "tags", "operator": "ALL", "values": ["finance", "laptop"] }
]
}
]
}
}

Devices with 8 or more CPU cores and an unencrypted drive:

filter
{
"$filterV2": {
"anyOf": [
{
"allOf": [
{ "field": "hardwareInventory.Processors.Cores", "operator": "GTE", "values": ["8"] },
{ "field": "hardwareInventory.Drives.Encrypted", "operator": "EQ", "values": ["false"] }
]
}
]
}
}

Dell devices of one model with system SKU 0E86, for example to find the ones a driver pack supports:

filter
{
"$filterV2": {
"anyOf": [
{
"allOf": [
{ "field": "hardwareInventory.Computer.Model", "operator": "CONTAINS", "values": ["MB16250"] },
{ "field": "hardwareInventory.Computer.SystemSKU", "operator": "EQ", "values": ["0E86"] }
]
}
]
}
}