Hello Karolina Gora,
Welcome to the MS Q&A platform.
We can't see the history that is longer than 30 days from the UI. However, you can use the below Rest API to see the history that is longer than 30 days.
My understanding is, scan history beyond 30 days would depend on the retention policies and configurations of the Microsoft Purview instance. It is recommended to check these policies before using the REST API.
I hope this helps. Please let me know if you have any further questions.
If this answers your question, please consider accepting the answer by hitting the Accept answer and up-vote as it helps the community look for answers to similar questions.