Performance
Core Web Vitals (TTFB, FCP, LCP, CLS, INP) as a summary, a time series, or a breakdown by page or country.
Returns Core Web Vitals for the range: average and percentile values of TTFB, FCP, LCP, CLS, and INP, with sample counts.
Conditional scopes
[
{
"when": "filter.type=saved",
"scopes": [
"analytics:read",
"analysis:read"
]
}
]siteIdstringrequiredID of the site (see List sites).
timeRangeobjectrequiredReporting window. Use { "kind": "preset", "preset": "last_7_days" } or an absolute range { "kind": "absolute", "from": "…", "to": "…" } with RFC 3339 timestamps. timeZone (IANA name) sets calendar boundaries for presets and buckets.
filterobject | any | nullOptional filter: { "type": "dsl", "expression": "page.path startsWith \"/blog\"" } uses the filter language, { "type": "inline", "expression": … } passes a structured expression, and { "type": "saved", "id": "…" } references a saved filter (requires analysis:read). Team queries accept dsl and inline only. Use null or omit the field for no filter.
scopestringWhich entity a filter condition selects. auto (default) picks the narrowest scope that fits the expression; event, session, and visitor force one.
"auto""event""session""visitor"Returns Core Web Vitals for each time bucket.
Conditional scopes
[
{
"when": "filter.type=saved",
"scopes": [
"analytics:read",
"analysis:read"
]
}
]siteIdstringrequiredID of the site (see List sites).
timeRangeobjectrequiredReporting window. Use { "kind": "preset", "preset": "last_7_days" } or an absolute range { "kind": "absolute", "from": "…", "to": "…" } with RFC 3339 timestamps. timeZone (IANA name) sets calendar boundaries for presets and buckets.
filterobject | any | nullOptional filter: { "type": "dsl", "expression": "page.path startsWith \"/blog\"" } uses the filter language, { "type": "inline", "expression": … } passes a structured expression, and { "type": "saved", "id": "…" } references a saved filter (requires analysis:read). Team queries accept dsl and inline only. Use null or omit the field for no filter.
scopestringWhich entity a filter condition selects. auto (default) picks the narrowest scope that fits the expression; event, session, and visitor force one.
"auto""event""session""visitor"intervalstringrequiredBucket size of the time series: minute, hour, day, week, or month. Keep the number of buckets reasonable for the time range.
"minute""hour""day""week""month"Breaks down Core Web Vitals by page.path or geo.country. Other dimensions are not supported and return validation_failed.
Conditional scopes
[
{
"when": "filter.type=saved",
"scopes": [
"analytics:read",
"analysis:read"
]
}
]siteIdstringrequiredID of the site (see List sites).
dimensionstringrequiredDimension to group by: page.path or geo.country.
"page.path""geo.country"timeRangeobjectrequiredReporting window. Use { "kind": "preset", "preset": "last_7_days" } or an absolute range { "kind": "absolute", "from": "…", "to": "…" } with RFC 3339 timestamps. timeZone (IANA name) sets calendar boundaries for presets and buckets.
filterobject | any | nullOptional filter: { "type": "dsl", "expression": "page.path startsWith \"/blog\"" } uses the filter language, { "type": "inline", "expression": … } passes a structured expression, and { "type": "saved", "id": "…" } references a saved filter (requires analysis:read). Team queries accept dsl and inline only. Use null or omit the field for no filter.
scopestringWhich entity a filter condition selects. auto (default) picks the narrowest scope that fits the expression; event, session, and visitor force one.
"auto""event""session""visitor"metricstringrequiredMetric used to rank rows. Defaults to lcp.
"ttfb""fcp""lcp""cls""inp"limitintegerrequiredMaximum number of rows, 1–200.