@Amaan Malik, Thanks for posting in Q&A.
From your description, I know you want to generate the reports based upon the intune autopatch update data though API to check device details.
Based on my research, here is a link about the report Graph API you can refer to and you can custom the report you want.
https://cloudflow.be/microsoft-graph-api-reports-for-intune/
Non-official, just for reference.
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.