---
title: "Get File Cache Stats"
method: GET
path: "/api/cache/stats/file-cache"
tags: ["cache"]
---

# Get File Cache Stats

`GET /api/cache/stats/file-cache`

## Request

- Base URL: `https://api.codeofpaper.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.codeofpaper.com/api/cache/stats/file-cache`
- Auth: HTTP bearer

Get statistics from the file cache (~/codeofpaper_data/cache/).

**Admin only endpoint.**

Returns:
    - Total papers in file cache
    - Cache size in MB
    - Date range coverage
    - Categories found
    - Average papers per day

## Response `200`

Successful Response

- object

---

[API](https://skmtc.dev/codeofpaper/apis/code-of-paper-dev-api.md) · [All operations](https://skmtc.dev/codeofpaper/apis/code-of-paper-dev-api/llms.txt) · [OpenAPI document](https://skmtc.dev/codeofpaper/apis/code-of-paper-dev-api/revisions/94ea47fd4aa1?raw)
