Skip to content
GridRouterhome

Search

Search providers, capabilities and pages

Docs
API referencePrivate cache

List cached records

GET
/v1/cache

The cache explorer: each cached entity or response with its masked label, fields, their ages and freshness, hits and savings. Values are never returned here.

Authorization

bearer
AuthorizationBearer <token>

In: header

Query Parameters

kind?string

Value in

  • "response"
  • "entity"
capability?string
Match^[a-z0-9._-]{1,120}$
limit?integer
Range1 <= value <= 200
Default50
cursor?string
Match^[0-9]{1,16}$

Response Body

application/json

application/json

curl -X GET "https://example.com/v1/cache"
{  "items": [    {      "object": "cache_entry",      "key": "string",      "kind": "response",      "entity_type": "person",      "label": "string",      "capability": "string",      "provider": "string",      "fields": [        {          "name": "string",          "provider": "string",          "fetched_at": "2019-08-24T14:15:22Z",          "expires_at": "2019-08-24T14:15:22Z",          "age_s": 0,          "fresh": true        }      ],      "size_bytes": 0,      "hits": 0,      "saved_micro": 0,      "tags": [        "string"      ],      "created_at": "2019-08-24T14:15:22Z",      "updated_at": "2019-08-24T14:15:22Z",      "expires_at": "2019-08-24T14:15:22Z"    }  ],  "next_cursor": "string"}