How to articles

Last published : Oct 31, 2026

Templates

The following are some example query templates:
  1. List all iOS and iPadOS jail broken devices ordered by model name
URL:
POST /api/endpoint-management/report/$search
Body:
{   
   "segment": "devices",          
   "filter" : {        
      "platform": {
        "$in": ["iOS", "ipadOS"]
      },
      "isJailbroken" : {
        "$eq": "1" 
      }           
   },
   "order": {
       "model": "$asc",                           
   },          
   "limit": 10
 }
To obtain and OR within a filter predicate, you use an array notation with the "$in" operator.
Example: Where "platform" equals AND "isJailbroken" equals 1

ANDing and ORing

By design, multiple filters are ANDed.
Example: Where "platform" equals "iOS" AND "isJailbroken" equals 1
{
     "segment": devices,
     "filter" : {        
        "platform": {
          "$eq": "iOS"
        },
        "isJailbroken" : {
          "$eq": "1" 
        }           
     }
 }