List cache keys (internal)

Add MCP server to your AI tool

Allow AI tools and LLMs to interact with the API documentation portal through MCP.

MCP server URL

https://docs.usehearsay.com/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
{
  "integrations MCP server": {
    "url": "https://docs.usehearsay.com/mcp"
  }
}

Close
GET /admin/common/cache/keys

Returns the names of the cache keys matching the glob pattern, or every key when it is omitted. The lookup scans the whole key space, so prefer a narrow pattern. Super admin only.

Query parameters

  • pattern string

Responses

  • 200 application/json
    Hide response attributes Show response attributes object
    • data array[string] Required
    • statusCode number Required
    • timestamp string(date-time) Required
GET /admin/common/cache/keys
curl \
 --request GET 'http://api.example.com/admin/common/cache/keys' \
 --header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "data": [
    "cache-master-data-source-all",
    "cache-master-data-source-name-whatsapp"
  ],
  "statusCode": 200,
  "timestamp": "2026-01-15T10:15:00.000Z"
}