> ## Documentation Index
> Fetch the complete documentation index at: https://veryfront.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Cache API

> Read and write cached values in project or user scope.

Read and write cached values in project or user scope.

Project endpoints also support batch operations, key listing, statistics, and cache clearing.

[Project Cache](#project-cache) · [User Cache](#user-cache)

## Project Cache

Read and write individual values or batches. Inspect keys and statistics, delete matching keys, or clear the project cache.

| Endpoint | Methods | Description |
| - | - | - |
| `/projects/{project_reference}/cache/get` | [GET](/docs/cloud/rest/api-reference/project-cache/get-cache-entry) | Get cache entry |
| `/projects/{project_reference}/cache/get-batch` | [POST](/docs/cloud/rest/api-reference/project-cache/get-multiple-cache-entries) | Get multiple cache entries |
| `/projects/{project_reference}/cache/keys` | [GET](/docs/cloud/rest/api-reference/project-cache/list-cache-keys) | List cache keys |
| `/projects/{project_reference}/cache/stats` | [GET](/docs/cloud/rest/api-reference/project-cache/get-cache-stats) | Get cache stats |
| `/projects/{project_reference}/cache/set` | [POST](/docs/cloud/rest/api-reference/project-cache/set-cache-entry) | Set cache entry |
| `/projects/{project_reference}/cache/set-batch` | [POST](/docs/cloud/rest/api-reference/project-cache/set-multiple-cache-entries) | Set multiple cache entries |
| `/projects/{project_reference}/cache/del` | [POST](/docs/cloud/rest/api-reference/project-cache/delete-cache-entry) | Delete cache entry |
| `/projects/{project_reference}/cache/del-pattern` | [POST](/docs/cloud/rest/api-reference/project-cache/delete-cache-by-pattern) | Delete cache by pattern |
| `/projects/{project_reference}/cache/clear` | [POST](/docs/cloud/rest/api-reference/project-cache/clear-cache) | Clear cache |

## User Cache

Read, write, or delete values in the authenticated user’s cache.

| Endpoint | Methods | Description |
| - | - | - |
| `/cache/get` | [GET](/docs/cloud/rest/api-reference/user-cache/get-user-cache-entry) | Get user cache entry |
| `/cache/set` | [POST](/docs/cloud/rest/api-reference/user-cache/set-user-cache-entry) | Set user cache entry |
| `/cache/del` | [POST](/docs/cloud/rest/api-reference/user-cache/delete-user-cache-entry) | Delete user cache entry |

[Back to REST API reference](/docs/cloud/rest)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.