curl --location --request POST '/people' \
--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 Smith",
"email": "joe.smith@example.com",
"state": "unspecified",
"job_title": "Engineer",
"department": "EPD",
"location_city": "San Francisco",
"location_state": "CA",
"location_country": "USA",
"categories": [
"automation"
],
"last_login": "2021-01-01T00:00:00Z",
"password_changed": "2021-01-01T00:00:00Z",
"job_category": "engineer",
"manager_name": "John Lopez",
"manager_email": "john.lopez@example.com",
"risk_score": 9.2,
"risk_factors": [
{
"type": "sensitive_file",
"magnitude": 40
}
]
}
]
}