SSR Cache

Inspect SSR ISR cache row state

Read the current cache row for a canonical {host, release_id, locale, method=GET, path} key without issuing a request. Returns { status: "HIT" } with metadata if a fresh row exists, { status: "MISS" } otherwise. NEVER returns BYPASS — inspect doesn't render. Host MUST be owned by the caller's project; cross-project returns 403 R402_CACHE_INVALIDATION_HOST_FORBIDDEN. Defaults: release_id → project's active release; locale → null (the wire convention for i18n-less releases). Capability ssr-isr-cache (v1.52).

get/cache/v1/inspect

Request

  • Base URL: https://api.run402.com
  • URL: https://api.run402.com/cache/v1/inspect
  • Auth: HTTP bearer

Query parameters

hoststring required

Lowercased before lookup. Must belong to the caller's project.

pathstring required

Pathname (with optional query) the cache key was built from.

localestring

Override the project's default locale. Omit to read the canonical key for the unlocalised release default.

release_idstring

Override the project's live_release_id. Useful for diagnosing a stale-release row that hasn't aged out of the 24h grace window.

Response

Cache state for the canonical key.

OR

Changes

No recorded changes to this operation across all 1 revision of this API.