Skip to Content
fastmon Docs
Synthetic

Get Synthetic Lighthouse Summary

Report an issue

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 (is_cached=true) at no LLM cost. Requires the org's AI to be enabled (require_ai_enabled).

Requires: ai:ask and synthetic:read, held by the member and owner roles. An app connection is refused.

Authorization

bearerAuth
headerAuthorizationBearer <fm_… / fmo_…>

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.

Path Parameters

page_id*Page Id

An ID, a UUID in lowercase with hyphens.

Formatuuid
site_id*Site Id

An ID, a UUID in lowercase with hyphens.

Formatuuid

Query Parameters

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 - is_cached=false means it was generated on this request.

synthetic_page*

The monitored page this answer is about.

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*SupportedLanguage

The language the summary is written in.

summary*Summary
is_cached*Is Cached
POST
/sites/{site_id}/synthetic/pages/{page_id}/lighthouse/summary
Example Request
curl -X POST 'https://api.fastmon.eu/sites/019d8b65-a109-76c7-9f4a-bda57a7ab21d/synthetic/pages/019d8b65-a109-76c7-9f4a-bda57a7ab21d/lighthouse/summary'
Example Response
{  "synthetic_page": {    "id": "019d8b65-a109-76c7-9f4a-bda57a7ab21d",    "url": "string"  },  "commerce_score_analysis_id": "string",  "device_type": "desktop",  "language": "string",  "summary": "string",  "is_cached": true}