Skip to main content
POST
/
projects
/
{project_reference}
/
cache
/
get-batch
Get Multiple Cache Entries
curl --request POST \
  --url https://api.veryfront.com/projects/{project_reference}/cache/get-batch \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "keys": [
    "<string>"
  ]
}
'
{
  "values": {},
  "hits": 123,
  "misses": 123
}

Authorizations

Authorization
string
header
required

Authentication via JWT token or API key. JWT: Get from Veryfront dashboard. API Key: Format "vf__" - create via /api-keys endpoint.

Path Parameters

project_reference
string
required

Project ID or slug

Body

application/json
keys
string[]
required

Array of cache keys to fetch (max 100)

Required array length: 1 - 100 elements
Required string length: 1 - 512

Response

Cache values keyed by cache key (null if not found)

values
object
required
hits
number
required
misses
number
required