---
title: "Get lifetime cache hit totals"
method: POST
path: "/api/dashboard/cache-hit-metrics/total-summary/"
tags: ["dashboard"]
---

# Get lifetime cache hit totals

`POST /api/dashboard/cache-hit-metrics/total-summary/`

Returns lifetime cache hit totals (not bounded by the request time range).

## Query parameters

- `summary_type` 'daily' | 'weekly' | 'monthly' | 'quarterly' | 'yearly' | 'last_24h' | 'all'
- `date` string, date
- `start_time` string, date-time
- `end_time` string, date-time
- `time_tick` 'minute' | 'hour' | 'day'
- `timezone_offset` number, double

## Headers

- `Authorization` string, required

## Response `200`

Successful response.

- DashboardGetLifetimeCacheHitTotalsResponse200
  - `summary` DashboardCacheHitSummary, required
    - `number_of_requests` integer
    - `total_prompt_tokens` integer
    - `total_completion_tokens` integer
    - `total_tokens` integer
    - `total_time_saved` number, double
    - `total_cost` number, double

## Changes

> 6 revisions in range; 3 could not be searched.

- **2026-07-31** `c26d550029f8` — 1 breaking, 6 warning, 2 info
  - removed the success response with the status `200`
  - deleted the `query` request parameter `date`
  - deleted the `query` request parameter `end_time`
  - deleted the `query` request parameter `start_time`
  - …5 more

[Change history](https://skmtc.dev/keywordsai/apis/api-reference/changes/api/dashboard/cache-hit-metrics/total-summary/post.md)

---

[API](https://skmtc.dev/keywordsai/apis/api-reference.md) · [All operations](https://skmtc.dev/keywordsai/apis/api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/keywordsai/api-reference/revisions/c61efaf24756/schema)
