cacheEntries

List cache entries, optionally by glob pattern, as REST GET /projects/{project_reference}/cache/entries. Requires project.cache.read.

Arguments

  • projectReferenceString!required

    Project UUID or slug.

  • patternString

    Glob pattern over keys, 1 to 512 characters; defaults to *.

  • cursorString

    The previous page's pageInfo.endCursor, bound to the same project and pattern.

  • limitInt

    Entries per page, 1 to 100; default 20.

Responses

query CacheEntries($projectReference: String!) {  cacheEntries(projectReference: $projectReference) {    data {      key      expiresAt    }    pageInfo {      hasNextPage      hasPreviousPage      startCursor      endCursor    }  }}
{  "data": {    "cacheEntries": {      "data": [        {          "key": "string",          "expiresAt": "2026-01-01T00:00:00Z"        }      ],      "pageInfo": {        "hasNextPage": false,        "hasPreviousPage": false,        "startCursor": "string",        "endCursor": "string"      }    }  }}

The CacheEntryConnection! in data.cacheEntries.