curl --location --request POST '/devices' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"query": "name='\''WINPC-4291'\'' AND status IN ('\''active'\'', '\''pending'\'')",
"distinct_count": "string",
"sort": "name desc, id",
"limit": 10,
"offset": 0,
"include_total_count": true
}'{
"pagination": {
"count": 0,
"total_count": 1000
},
"distinct_values": [
{
"value": null,
"count": 0
}
],
"items": [
{
"id": "8CA67511-744C-4D74-B26E-7281CF88712F",
"name": "Joe's Mac",
"model": "MacBook Pro",
"platform": "windows",
"last_seen": "2021-01-01T00:00:00Z",
"serial_number": "C02X1234DC79",
"sources": [
"unspecified"
],
"disk_encryption": "unspecified",
"activation_lock": "unspecified",
"antivirus": "unspecified",
"mdm": "unspecified",
"apps_installed": 47,
"last_usb_usage": "2021-01-01T00:00:00Z",
"employee_name": "Joe Smith",
"employee_email": "joe.smith@example.com",
"risk_score": 9.2,
"risk_factors": [
{
"type": "sensitive_file",
"magnitude": 40
}
]
}
]
}