# 容量与文件数

`GET /s4/data/{bucket}/usage`

查询存储桶当前的存储容量与文件数。

Base URL: https://api.bitiful.com

Authentication: API key in header `Authorization`

## Path parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `bucket` | string | yes | 存储桶名称。 |

## Example request

```bash
curl -X GET https://api.bitiful.com/s4/data/my-bucket/usage
```

## Responses

- **200**: 存储桶的容量与文件数（JSON）。
