fastmon Docs
Synthetic

Get Synthetic Lighthouse Summary

Fehler melden

An AI summary of a page's Lighthouse run (latest unless a run id is given).

Generated once per (run, device): English first, then translated to German, and both stored in lighthouse_summaries - a completed run is immutable, so repeat requests are served from the DB (cached=true) at no LLM cost. Requires the org's AI to be enabled (require_ai_enabled).

Authentifizierung

bearerAuth
headerAuthentifizierungBearer <token>

API token generated from the fastmon dashboard (Account → API Token) or at organization level (fmo_…, one that outlives its creator). Send as Authorization: Bearer fm_... or paste the full token (including its prefix) into the Authorize dialog.

Pfad-Parameter

page_id*Page Id
Formatuuid
site_id*Site Id
Formatuuid

Query-Parameter

device_type?|

The device class to answer for. Defaults to desktop.

language?Language
Match^(en|de)$
Default"en"
commerce_score_analysis_id?|

Target a specific run; default latest

Response-Body

Successful Response

application/json
  1. response

AI-generated summary of a Lighthouse run (one device + language). Persisted and reused - cached=false means it was generated on this request.

page_id*Page Id
Formatuuid
commerce_score_analysis_id*Commerce Score Analysis Id

The run this summary is of.

device_type*SyntheticDeviceType

The class of device commerce-score measures a page on (§28).

Two values, not the three of DeviceType: commerce-score runs Lighthouse on a desktop and a mobile profile only, so a shared enum would promise a tablet run no route can answer.

Value in"desktop""mobile"
language*Language
summary*Summary
cached*Cached
POST
/sites/{site_id}/synthetic/pages/{page_id}/lighthouse/summary
curl -X POST 'https://api.fastmon.eu/sites/497f6eca-6276-4993-bfeb-53cbbbba6f08/synthetic/pages/497f6eca-6276-4993-bfeb-53cbbbba6f08/lighthouse/summary'
{  "page_id": "ef107761-0142-48fe-9dcd-5140d1ae58db",  "commerce_score_analysis_id": "string",  "device_type": "desktop",  "language": "string",  "summary": "string",  "cached": true}