---
title: "Field access policy cache statistics"
method: GET
path: "/api/data-access/cache/stats"
tags: ["DataAccess"]
---

# Field access policy cache statistics

`GET /api/data-access/cache/stats`

## Request

- Base URL: `https://api.agentstack.tech` (the document declares no server; this is the origin it was published from)
- URL: `https://api.agentstack.tech/api/data-access/cache/stats`
- Auth: one of:
  - API key in header `X-API-Key`
  - HTTP bearer

Return cache statistics for the field_access:policy namespace.

Shows hits, misses, hit_rate, entry count, tag counts.
Useful for monitoring cache effectiveness in production.

Requires ecosystem admin or owner — stats are global and reveal load patterns.

Philosophy: Elegant Minimalism — observability built-in, not bolted on.

## Response `200`

Hit/miss stats and entry counts

- unknown

## Other responses

- `400`: Bad Request
- `401`: Not authenticated
- `403`: Insufficient project access (read / admin / owner)
- `404`: Not Found
- `409`: Conflict
- `422`: Unprocessable Entity
- `429`: Too Many Requests
- `500`: Internal Server Error

---

[API](https://skmtc.dev/agentstack/apis/agentstack-core-api.md) · [All operations](https://skmtc.dev/agentstack/apis/agentstack-core-api/llms.txt) · [OpenAPI document](https://skmtc.dev/agentstack/apis/agentstack-core-api/revisions/8ecf3406e74a?raw)
