Site speed
get_site_speedHow fast a site's pages were over a range, as its Speed page's tiles show, beside the period before. The answer's caveats are the rules that apply to its figures, such as each p75 being approximate, or some figures being counted only from a later day: read them before reporting any figure, and pass on those that change what it means. Name the site, range and filters as for get_site_summary. metrics gives each of TTFB, FCP, LCP, INP, CLS and PLT: p75, the 75th percentile of the page loads that measured it, in milliseconds, or a score for CLS; rating, good at or under good_up_to, poor over poor_over, needs_improvement between (Google's thresholds, fivebar's own for PLT); ratings, the part of the loads in each, fractions of 1; page_loads_measured, as not every browser measures every metric and INP needs an interaction; by_device; for CLS, no_shift_share; previous; and change, how far p75 moved as a whole percentage, a fall being faster, or for CLS steadier. page_loads is every page load counted, and statuses the HTTP statuses they were answered with. Speed is counted by page, so a goal, entry or exit filter rules it out, answered with available: false, why and what to try.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | With from: the last day, as YYYY-MM-DD, not after today. | |
| days | No | The last this many days, ending today unless ending says yesterday. | |
| from | No | With to: the first day, as YYYY-MM-DD. | |
| range | No | A preset, as get_site_summary's range says what each covers. | |
| domain | Yes | A domain from list_sites, or any public site's. | |
| ending | No | With days: the last day, today by default. | |
| filters | No | Each narrows every figure to what has exactly that value, case and all, so google is not Google; all must hold. |