Search Confluence users API doesn't return correct totalSize, which is a bug?

Hi,
I’m going to get all confluences users through API, but found the below can’t work:

Search users

https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-search/#api-wiki-rest-api-search-user-get
Please take a look at this issue.

Hi,

Can you tell me a little more about what’s not working? are no users being returned, or only some?
Also, what CQL are you using?

Cheers!
Mel

Hi @mpaisley
The same:

"size": 2154,
 "totalSize": 2154,

I used:
Example queries: cql=type=user will return up to 10k users
totalSize = size (totalSize should be the total size of all users, size is just the number of current page)
BTW, the number of each page is 100.