We tried using the below query:
https://hctz-dev2.fa.us2.oraclecloud.com/hcmRestApi/scim/Users?totalResults=true&filter=(active eq true) to find all the active users in the HCM but we are not able to get the totalResults value until we remove the filter parameter.