European Parliament MCP Server API - v1.3.10
    Preparing search index...

    Function getLifecycleCacheStatus

    • Return an observable snapshot of the lifecycle-statistics cache for the given corpus size. Never triggers a rebuild and never blocks.

      The function distinguishes the three states a cache entry can be in:

      • WARM — entry exists and is unexpired (getCachedLifecycleStatistics would return the model)
      • STALE — entry exists but its TTL has elapsed; the next request that calls getLifecycleStatistics will trigger a rebuild
      • COLD — no entry has ever been produced for this corpus size

      Parameters

      • corpusSize: number = CORPUS_SIZE

        Sample size to inspect (default: CORPUS_SIZE)

      Returns LifecycleCacheStatus

      Cache status snapshot

      No network calls; safe to use inside health endpoints and tight request budgets.

      0.9.0