View collaborators permissions using API

Is there a way to view the permissions of collaborators on repos (where I’m the owner/admninistrator)?

It would be convenient if there’s was an endpoint to sends the permissions with the users list.

we can set permissions through the PUT call but there’s no way to later review the collaborators’ permissions. Unless I’m missing something.