Query Speed Insights from the Vercel CLI
Vercel News·
You can now query Speed Insights datapoints directly through the Vercel CLI.
Using the vercel metrics command, you can pull core Web Vitals (LCP, INP, CLS) and other page performance metrics (FCP, TTFB) based on client-side measurements from real user traffic.
By providing a coding agent access to the CLI, an agent can answer questions such as:
- Which pages' INP have regressed since last week?
- How is the perceived speed of my home page in Asia?
- Compare the CLS of the dashboard between mobile and desktop.
For more details on how to use the CLI command and a complete list of supported metrics, dimensions, filters, and query options, explore the documentation.