# List cache entries

```http
GET /projects/{project_reference}/cache/entries
```

Lists cache entry keys and expiry, optionally filtered by a glob pattern. Results follow Redis scan order, so pages can repeat a key and page\_info.prev is always null. Requires project.cache.read.

## Parameters

| Name                | In    | Required | Description                                                                                                        |
| ------------------- | ----- | -------- | ------------------------------------------------------------------------------------------------------------------ |
| `project_reference` | path  | Yes      | Project slug, UUID, or domain that identifies the project.                                                         |
| `pattern`           | query |          | Glob pattern over keys, such as `transform:*`: 1 to 512 key characters, with \* for any sequence. Defaults to `*`. |
| `cursor`            | query |          | Opaque page\_info.next from a previous page, bound to the same project and pattern. Expires after five minutes.    |
| `limit`             | query |          | Entries per page, 1 to 100. Defaults to 20.                                                                        |

## Responses

| Status | Description              |
| ------ | ------------------------ |
| 200    | A page of cache entries. |
| 400    | Bad request              |
| 401    | Unauthorized             |
| 403    | Forbidden                |
| 404    | Not found                |
| 500    | Server error             |
