Latest Lighthouse result
Returns the most recent successful Lighthouse scan for the Enrollment
Pack (scans persist only on success). A fresh scan is auto-queued on
every company create and update, but it runs asynchronously — a
failed, rate-limited, or recently-run rescan writes no new record,
so this endpoint may return the prior scan with HTTP 200. POST .../lighthouse requests a rescan (it always returns 202) but
cannot guarantee a newer score — the queued scan is skipped
silently when one ran in the last ~5 minutes, the scanner is
rate-limited, or its circuit breaker is open.
Authorizations
Bearer token authentication. Accepts company-admin tokens with
storefront.view for read operations and storefront.update
for writes and scan triggers (legacy per-resource grants like
categories.update / products.view / etc. are still accepted
during the migration), required on every company operation.
Storefront public operations under /api/v202604/{resource} and
/api/v202604/{resource}/{slug} are unauthenticated
(security: []).
Path Parameters
The unique identifier of the enrollment pack.
Response
Latest Lighthouse result.
Latest Lighthouse result for the resource, returned raw — no
meta, no top-level status. core_metrics, category_scores,
and
optimization_opportunities are derived from the raw result
blob; any derived value can be null when the run did not
produce it.
55
"2026-06-23T13:42:17Z"
"2026-06-23T13:42:17Z"
"2026-06-23T13:42:20Z"
Lighthouse form factor (formFactor / emulatedFormFactor).
mobile, desktop, null "mobile"
"https://acme.fluid.app/home/categories/summer-sale"
"2026-06-23T13:42:17Z"
Summarized metrics derived from the raw result. Every key is
always present; every value is nullable. Rating fields are
good / needs-improvement / poor (or null).
Per-Lighthouse-category score, 0–100 ((score * 100).round)
or null. Keys are whatever categories the run produced
(e.g. performance, accessibility, best-practices, seo, pwa).
Audits with a savings opportunity (score < 1), sorted by estimated savings descending.
Raw Lighthouse JSON blob (the upstream Google Lighthouse
schema). Large (~100 KB typical); the summarized core_metrics,
category_scores, and optimization_opportunities above are
derived from it.