UserDetailsQuery python sdk response not matching

I am using the below code to fetch the user details from API "UserDetailsQuery", In the response the total hits is not matching with the user_details value. even though i iterate through pagination it is not matching with the total_hits. can you please explain.


apiclient = PureCloudPlatformClientV2.api_client.ApiClient().get_client_credentials_token(
    GENESYS_CLOUD_CLIENT_ID, GENESYS_CLOUD_CLIENT_SECRET
)
PureCloudPlatformClientV2.configuration.access_token = apiclient.access_token
api_instance = PureCloudPlatformClientV2.UsersApi()

body = PureCloudPlatformClientV2.UserDetailsQuery()
body.paging = PureCloudPlatformClientV2.PagingSpec()

previous_day = datetime.now() - timedelta(days=1)
start_of_previous_day = datetime(previous_day.year, previous_day.month, previous_day.day, 0, 0, 0)
end_of_previous_day = datetime(previous_day.year, previous_day.month, previous_day.day, 23, 59, 59)
int_time = start_of_previous_day.strftime("%Y-%m-%dT%H:%M:%S") + "/" + end_of_previous_day.strftime(
    "%Y-%m-%dT%H:%M:%S")

body.interval = int_time
body.paging.page_size = 100
body.paging.page_number = 1
api_response = api_instance.post_analytics_users_details_query(body).to_json()

userdetailsquery

Hi,

Total hits is meant to be an approximate number. Hope that answers your question.

Best

So it doesnt mean that the total_hits value shouldn't match with the api response?