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

# Get Cache Stats

`GET /api/cache/stats`

## 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`
- Auth: HTTP bearer

Get comprehensive cache statistics.

**Admin only endpoint.**

Returns:
    - Total counts for papers, repositories, embeddings, links
    - FAISS index status
    - Recent activity metrics
    - Storage usage estimates

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