Get file information uploaded to storage bucket

I’m trying to manage storage buckets.
We plan to delete all files that have been uploaded more than a week ago.
To do that, I need upload information for files uploaded to the storage bucket. How can I get it?