Hi @davide-maestron ,
Yep, it looks like a bug. According to docs, this attribute will be return only for files.

So I specifically provided a path to a file in my workspace and API didn't return size attribute:

Edit: What's interesting is that documentation is saying that size attribute can be returned. I wonder what are the factors that cause this attribute to appear (if any) 😄