---
title: "Get per-table usage"
method: GET
path: "/billing/usage/by-table"
tags: ["Billing"]
---

# Get per-table usage

`GET /billing/usage/by-table`

Returns top tables by cost (and their query count + GPU hours) within the period.

## Query parameters

- `start_date` string
- `end_date` string
- `workspace_id` string
- `limit` integer

## Response `200`

OK

- GithubComActiveloopaiDeeplakeApiInternalBillingUsageByTableResponse
  - `entries` GithubComActiveloopaiDeeplakeApiInternalBillingUsageByTableEntry[]
    - `cost_cents` integer
    - `gpu_hours` number
    - `query_count` integer
    - `table_name` string
  - `period_end` string
  - `period_start` string

## 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)
