---
title: "Obtener estadísticas de cache"
method: GET
path: "/custom-fields/cache/stats"
tags: ["Custom Fields"]
---

# Obtener estadísticas de cache

`GET /custom-fields/cache/stats`

## Request

- Base URL: `http://localhost:8081`
- URL: `http://localhost:8081/custom-fields/cache/stats`
- Auth: HTTP bearer

Endpoint de debug para ver estadísticas del cache de custom fields.

**Información retornada**:
- Número de entradas en cache
- Memoria total utilizada

## Response `200`

Estadísticas obtenidas exitosamente

- object
  - `success` boolean
  - `cache_stats` object
    - `entries` integer: Número de entradas en cache
    - `total_memory_bytes` integer: Memoria total en bytes
    - `total_memory_kb` number: Memoria total en kilobytes

## Other responses

- `500`: Error interno del servidor

---

[API](https://skmtc.dev/nevent/apis/nevent-data-api.md) · [All operations](https://skmtc.dev/nevent/apis/nevent-data-api/llms.txt) · [OpenAPI document](https://skmtc.dev/nevent/apis/nevent-data-api/revisions/81035d32c1c1?raw)
