Getting the file size of attachments added to posts through the API

Well, there is an UploadSerializer that includes filesize, but I don’t see a way to get it.

Uploads/attachments do include the filesize, but only in the description of the attachment.

What problem are you solving by getting an upload’s filesize?