Googleapis Pagespeedonline
Google PageSpeed Online API is a Google API for analyzing web page performance and returning Lighthouse-based speed and quality metrics.
- Base URL:
https://pagespeedonline.googleapis.com - Auth: OAuth 2.0 (user-delegated) — attach an InTouch
oauthcredential. Mint one withitcli.py /oauth <provider>(device-code) or/google-auth(Google); the server auto-refreshes the access token before each run, so the connector never handles or stores tokens.
Operations
pagespeedonline_pagespeedapi_runpagespeed— GET /pagespeedonline/v5/runPagespeed — Runs PageSpeed analysis on the page at the specified URL, and returns PageSpeed
Inputs
- a linked
oauthcredential (no key inputs) — the server injects a freshAuthorization: Bearerfrom it operation— one of the operations above- path parameters when an operation's path contains
{...} query— optional JSON object of query paramsbody— JSON object for create/update ops
Example
operation: pagespeedonline_pagespeedapi_runpagespeed
# (attach an 'oauth' credential to the task — no inline secrets)
Publishes
The keys a later task may reference as {{taskName.key}}. Referencing anything not listed here resolves to nothing at run time.
erroroperationresultstatus
Input Properties
Every property this tool accepts, from its own tool.iml.
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
operation |
string | yes | — | One of: pagespeedonline_pagespeedapi_runpagespeed |
query |
string | no | — | Optional query params as a JSON object string, e.g. {"limit": 10}. |