Get Bucket Stats

Get disk usage and object count for any bucket in the system.
EndpointMethodAdmin Required
/api/v1/admin/buckets/:bucketName/statsGETYes

Returns the total size and object count for any bucket in the system, regardless of owner.

Unlike the user endpoint, this works on any user's bucket and is always scoped to the whole bucket (no folder-level prefix).

This is a recursive, on-demand calculation - the admin console fetches it lazily, one call per bucket row already visible in the bucket list, rather than embedding it in List All Buckets.

Path Parameters

bucketName
string required
The name of the bucket.

Response

{
    "sizeBytes": 15728640,
    "objectCount": 42
}

Errors

StatusReason
404Bucket not found