Information about a cached entry, used for the registry and dashboard display

interface CacheEntryInfo {
    accessCount: number;
    cachedAt: number;
    expiresAt?: number;
    fingerprint?: string;
    key: string;
    lastAccessedAt: number;
    maxUpdatedAt?: string;
    name: string;
    params?: Record<string, unknown>;
    rowCount?: number;
    sizeBytes: number;
    type: CacheEntryType;
}

Properties

accessCount: number

Hit count

cachedAt: number

Cache timestamp

expiresAt?: number

Optional TTL expiry timestamp

fingerprint?: string

For RunView/RunQuery deduplication

key: string

Storage key

lastAccessedAt: number

Last read timestamp

maxUpdatedAt?: string

Server timestamp for freshness check

name: string

Dataset name, Entity name, or Query name

params?: Record<string, unknown>

Original params (expandable in UI)

rowCount?: number

Row count for cache validation (used with smart cache check)

sizeBytes: number

Approximate size in bytes

Type of cache entry