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

---

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