---
title: "Get compute time-series"
method: GET
path: "/billing/usage/compute/series"
tags: ["Billing"]
---

# Get compute time-series

`GET /billing/usage/compute/series`

Returns DATE_TRUNC-bucketed pod-hours + cost over the period, optionally grouped.

## Query parameters

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

## Response `200`

OK

- GithubComActiveloopaiDeeplakeApiInternalBillingComputeSeriesResponse
  - `granularity` 'day' | 'hour'
  - `group_by` '' | 'pod' | 'tier' | 'region'
  - `period_end` string
  - `period_start` string
  - `series` GithubComActiveloopaiDeeplakeApiInternalBillingComputeSeriesPoint[]
    - `bucket_start` string
    - `by_group` object
    - `cost_cents` integer
    - `hours` number

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