---
title: "Get usage breakdown by period"
method: GET
path: "/admin/usage/daily"
tags: ["admin"]
---

# Get usage breakdown by period

`GET /admin/usage/daily`

## Query parameters

- `days` integer
- `start_date` string
- `end_date` string
- `interval` string
- `model` string
- `provider` string
- `label` string
- `user_path` string
- `cache_mode` string

## Response `200`

OK

- UsageDailyUsage[]
  - `cache_write_input_tokens` integer
  - `cached_input_tokens` integer
  - `date` string
  - `input_cost` number
  - `input_tokens` integer
  - `output_cost` number
  - `output_tokens` integer
  - `requests` integer
  - `total_cost` number
  - `total_tokens` integer
  - `uncached_input_tokens` integer — Provider prompt-cache split of the period's input, folded per row from raw_data (same source as the summary). Zero when the storage layer does not populate them.

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