Skip to main content
GET
Get Bucket Storage

Authorizations

Authorization
string
header
required

Mixpeek API key, sent as Authorization: Bearer mxp_sk_.... Create one in Studio under Settings → API Keys, or with an admin key via POST /v1/organizations/users/{user_email}/api-keys. A missing header returns 403; an invalid or revoked key returns 401.

X-Namespace
string
header
required

Namespace id (ns_...), not the namespace name. This scopes the request rather than authenticating it, and it is required on every operation marked x-mixpeek-namespace-scoped.

Path Parameters

bucket_id
string
required

Query Parameters

start_date
string<date-time> | null

Start date (UTC)

end_date
string<date-time> | null

End date (UTC)

group_by
string
default:day

Time grouping: hour, day, week, month

Response

Successful Response

Storage growth trends response.

bucket_id
string
required

Bucket identifier

time_range
TimeRange · object
required

Query time range

metrics
StorageMetric · object[]
required

Time-series storage metrics

summary
Summary · object

Summary statistics