Hi @Jronash,
You could use the HasUniqueRoleAssignments property and filter on items which have a true value for that property.
Below is an example.
Btw, I tried to apply the filter directly in the REST API request, but that did not seem to work. That is why I used a filter array action afterwards.
Uri value for the Send an HTTP request to SharePoint action.
_api/web/lists/getbytitle('Documents')/items?$select=FileLeafRef,HasUniqueRoleAssignments
Expression for From field in Filter Array:
outputs('Send_an_HTTP_request_to_SharePoint')?['body']['value']
In the criteria I use:
item()['HasUniqueRoleAssignments']
is equal to true
