REST API - How to get metadata for paging

I’m trying to retrieve user information using GET /rest/api/3/users with Oauth. The response body does not contain any metadata for paging.

  1. So, is it safe to assume that all user information has been retrieved?
  2. To get a response that contains metadata for paging
    How can I do this?

The following is the document I used as a reference:

Hi @user12 and welcome to the Atlassian Developer Community. It’s nice to have you here!

The number of users returned is based on the maxResults query parameter which is set to 50 by default. If the number of returned items are less than the maxResults used in a request, then the last page has been reached. If not, then the startAt query parameter can be used to retrieve the next set of users.

There is a thread here which also provides some ideas about how to go about this and some history:

I could also find this feature request for adding pagination:
https://jira.atlassian.com/browse/JRACLOUD-77122

Thanks,
Caterina

Thank you @ccurti , Your advice helped me!