One month down in 2025: How are your resolutions coming along? Check out how to get back on track here.
Forum Discussion
rk90
7 years agoHelpful | Level 5
Size of the deleted files.
How do I find out the size of deleted files? I use /2/files/list_folder with include_deleted=True, I can see the deleted items, but there is no size info.
- DBX_Robert
Dropbox Staff
You are correct that the `/2/files/list_folder` endpoint does not include size information for deleted files. Have you tried using the `/2/files/list_revisions` endpoint. This endpoint will return a list of historical data about the file, including file size, and can be used on current files or deleted files.
- rk90Helpful | Level 5
No, I haven't looked at list_revisions. But this leads me to another question and that is about deleted folders. I guess deleted items can be restored, but I want to check the size of all deleted items. So which endpoint do I need to query to get the size of deleted files/folders.
I am surprised to see that Dropbox doesn't have an API to return just the deleted items.
- Paula14New member | Level 2K
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,950 PostsLatest Activity: 56 minutes ago
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!