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

# Get queries time-series

`GET /billing/usage/queries/series`

Per-bucket count of query sessions (session_type='query') over a period.

## Query parameters

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

## Response `200`

OK

- GithubComActiveloopaiDeeplakeApiInternalBillingQueriesSeriesResponse
  - `granularity` 'day' | 'hour'
  - `period_end` string
  - `period_start` string
  - `series` GithubComActiveloopaiDeeplakeApiInternalBillingQueriesSeriesPoint[]
    - `bucket_start` string
    - `queries` 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)
