Get Usage

Get storage usage statistics for the authenticated organization.

Args: identity: Authentication identity containing org_id db: Database session

Returns: FileUsage: Usage statistics including total/used bytes and file count

Raises: HTTPException: 500 if unable to calculate usage

get/v1/files:usage

Response

Successful Response

totalstring required
usedstring required
total_bytesinteger required
used_bytesinteger required
num_filesinteger required

Changes