Getting paginated default user roles

I’m looking to get the default roles for all our users but the only official way I was able to find was on a per user basis users/{user_id}/roles.

There is an internal endpoint that returns this data for all users but obviously I’d like to avoid using an internal endpoint if possible (in case it breaks). /api/internal/administrators

Is there a public endpoint that can accomplish this or that’s planned to do this in the future? Thanks.

You’re correct, I was only able to find the same endpoint you mentioned which only list the roles per user.

If you have access to the Okta Ideas portal, I would recommend submitting a feature request for this use case.
https://support.okta.com/help/s/article/Okta-Ideas-Overview-FAQ