---
title: "Get storage usage"
method: GET
path: "/billing/usage/storage"
tags: ["Billing"]
---

# Get storage usage

`GET /billing/usage/storage`

Returns storage usage for the authenticated user's organization

## Query parameters

- `start_date` string
- `end_date` string
- `workspace_id` string
- `granularity` string

## Response `200`

OK

- GithubComActiveloopaiDeeplakeApiInternalBillingStorageUsageResponse
  - `average_storage_tb` number
  - `by_workspace` object
  - `current_storage_gb` number
  - `current_storage_tb` number
  - `period_end` string
  - `period_start` string
  - `series` GithubComActiveloopaiDeeplakeApiInternalBillingStorageSeriesPoint[]
    - `daily_cost_cents` integer
    - `row_count` integer — RowCount is the stored-row ("traces") count on that day, summed across the org's tables. Point-in-time stock, not a daily flow — drives the rows chart.
    - `snapshot_date` string
    - `storage_tb` number
  - `snapshots` GithubComActiveloopaiDeeplakeApiInternalBillingStorageSnapshot[]
    - `created_at` string
    - `daily_cost_cents` integer
    - `file_count` integer
    - `id` string
    - `metadata` object
    - `org_id` string
    - `price_cents_per_tb_month` integer
    - `region_id` string
    - `row_count` integer — RowCount is the total rows ("stored traces") across the org's deeplake tables — the seat-plan quota meter. 0 for snapshots taken before the row-count rollup, or where deeplake_vacuum_status is unavailable.
    - `snapshot_date` string
    - `storage_bytes` integer
    - `storage_gb` number
    - `storage_tb` number
    - `table_count` integer
    - `workspace_id` string
  - `total_cost_cents` integer

## Other responses

- `401` — Unauthorized
- `500` — Internal Server Error

---

[API](https://skmtc.net/deeplake/apis/deeplake-api.md) · [All operations](https://skmtc.net/deeplake/apis/deeplake-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/deeplake/deeplake-api/revisions/e16ed11d991c/schema)
