Object Storage

List storage usage

Changed on

Returns daily object storage usage for a project. Each row reports the canonical usage in bytes for a single storage on a given day, plus the provider-reported raw value.

get/storage/usage

Request

  • Base URL: https://api.latitude.sh
  • URL: https://api.latitude.sh/storage/usage
  • Auth: API key in header Authorization

Query parameters

filter[project]string required

Project ID or Slug

filter[storage_id]string

Restrict the result to a single storage. Accepts the storage/bucket ID

filter[start_date]string date

Defaults to yesterday

filter[end_date]string date

Defaults to today; clamped to today when a future date is given

Response

Success

Changes

    • breaking

      the /// response's property type changed from integer to string for status

    • breaking

      the /// response's property type changed from integer to string for status

    • info

      endpoint added