The process of building custom applications and tools that interact with Microsoft SharePoint, including SharePoint Online in Microsoft 365.
Hi @captain_atharv ,
Per my test, I do agree with SrinivasaRaoDarna-MSFT's answer. You will need to use "entityTypes": ["listItem"] to return list items. But if you set ContentType:Document in queryString. It will filter out list items too. So we are unable to filter documents and list items in a query currently.
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.