Hi @Adrian Corral Ruiz ,
Thank you for posting in this community.
/sites/{sitesId}/permissions: Use this method to obtain application permissions; not site user permissions.
The default return value is an empty array, unless you have previously created permissions.
If you are trying to get Site Collection Permissions Report, there is no graph api for that, you can get it through powershell. If that's not your intention, forgive me for misunderstanding.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.