---
title: "Get the live token-throughput window"
method: GET
path: "/admin/usage/throughput"
tags: ["admin"]
---

# Get the live token-throughput window

`GET /admin/usage/throughput`

Returns a fixed, trailing window of token-volume buckets
(input / output / prompt-cached / locally-cached) at the
requested granularity, for the overview live chart.

## Query parameters

- `granularity` string, required

## Response `200`

OK

- UsageTokenThroughput
  - `bucket_seconds` integer
  - `buckets` UsageThroughputBucket[]
    - `input_tokens` integer
    - `locally_cached_tokens` integer
    - `output_tokens` integer
    - `prompt_cached_tokens` integer
    - `start` string
  - `granularity` string

## Other responses

- `400` — Bad Request
- `401` — Unauthorized

---

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