Analytics
Analytics - Buckets

Get Bucket Storage

Changed on

Get storage growth trends over time.

Analyzes bucket storage metrics including:

  • Total storage size over time
  • Object count trends
  • Growth rates

Use Cases:

  • Monitor storage capacity planning
  • Identify storage growth patterns
  • Track object accumulation
  • Alert on unexpected growth

Example:

curl -X GET "https://api.mixpeek.com/v1/analytics/buckets/bkt_abc123/storage?group_by=day" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "X-Namespace: your-namespace"
get/v1/analytics/buckets/{bucket_id}/storage

Request

  • Base URL: https://api.mixpeek.com
  • URL: https://api.mixpeek.com/v1/analytics/buckets/{bucket_id}/storage
  • Auth: HTTP bearer and API key in header X-Namespace

Path parameters

bucket_idstring required

Query parameters

start_datestring date-time nullable

Start date (UTC)

end_datestring date-time nullable

End date (UTC)

group_bystring

Time grouping: hour, day, week, month

Response

Successful Response

bucket_idstring required

Bucket identifier

summaryobject

Summary statistics

Changes

    • warning

      removed the optional property from the response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the optional property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      the endpoint scheme security BearerAuth AND NamespaceHeader was added to the API