curl --location --request POST '/data-sharing/documents' \
--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": "string",
"name": "string",
"risk_score": 0.9,
"risk_factors": [
{
"type": "sensitive_file",
"magnitude": 40
}
],
"source": "unspecified",
"employee_email": "string",
"employee_name": "string",
"kind": "unspecified",
"file_type": "string",
"file_extension": "string",
"sensitivity": "unspecified",
"allowlisted": true
}
]
}