> ## Documentation Index
> Fetch the complete documentation index at: https://meta.fluxdrop.pl/llms.txt
> Use this file to discover all available pages before exploring further.

# Aggregate file count and storage size statistics

> Retrieve aggregate statistics from the Flux Metadata Service, including total file count and combined storage size across all stored files.

## Get statistics

<div>
  <code className="font-bold text-lg">GET /api/v1/stats</code>
</div>

Returns aggregate statistics across all files managed by the Metadata Service.

### Response `200`

```json theme={null}
{
  "totalFiles": 14832,
  "totalSizeBytes": 8493726105
}
```

### Response fields

<ResponseField name="totalFiles" type="number">
  Total number of file metadata records stored.
</ResponseField>

<ResponseField name="totalSizeBytes" type="number">
  Combined size of all files in bytes.
</ResponseField>
