---
title: "Get User Daily Activity Cache Leakage Keys"
method: GET
path: "/user/daily/activity/aggregated/cache_leakage_keys"
tags: ["Budget & Spend Tracking", "Internal User management"]
---

# Get User Daily Activity Cache Leakage Keys

`GET /user/daily/activity/aggregated/cache_leakage_keys`

## Request

- Base URL: `https://api.sea-lion.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.sea-lion.ai/user/daily/activity/aggregated/cache_leakage_keys`
- Auth: API key in header `x-litellm-api-key`

## Query parameters

- `limit` integer
- `start_date` string, nullable: Start date in YYYY-MM-DD format
- `end_date` string, nullable: End date in YYYY-MM-DD format
- `model` string, nullable: Filter by specific model
- `api_key` string, nullable: Filter by specific API key
- `user_id` string, nullable: Filter by specific user ID. Admins can filter by any user or omit for global view. Non-admins must provide their own user_id.
- `timezone` integer, nullable: Timezone offset in minutes from UTC (e.g., 480 for PST). Matches JavaScript's Date.getTimezoneOffset() convention.
- `include_current_utc_day` boolean: When the range ends on the caller's current local day, extend it to today's UTC bucket so spend written after the caller's local midnight (in UTC terms) is included. Requires the timezone parameter. Historical ranges are never extended.

## Response `200`

Successful Response

- CacheLeakageKeysResponse
  - `api_keys` KeySpendActivityRow[], required
    - `api_key` string, required
    - `metrics` KeySpendMetrics, required
      - `spend` number
      - `prompt_tokens` integer
      - `completion_tokens` integer
      - `total_tokens` integer
      - `api_requests` integer
      - `successful_requests` integer
      - `failed_requests` integer
      - `cache_read_input_tokens` integer
      - `cache_creation_input_tokens` integer
    - `metadata` KeyMetadata, required: Metadata for a key
      - `key_alias` string, nullable
      - `team_id` string, nullable
      - `user_id` string, nullable
      - `user_email` string, nullable
      - `key_exists` boolean, nullable

## Other responses

- `422`: Validation Error

## Changes

- **2026-10-21** `f2fb14eab3f5`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/sea-lion/apis/litellm-api/changes/user/daily/activity/aggregated/cache_leakage_keys/get.md)

---

[API](https://skmtc.dev/sea-lion/apis/litellm-api.md) · [All operations](https://skmtc.dev/sea-lion/apis/litellm-api/llms.txt) · [OpenAPI document](https://skmtc.dev/sea-lion/apis/litellm-api/revisions/1ba9123c189a?raw)
