You can now query Web Analytics datapoints directly through the Vercel CLI.
Using the vercel metrics command, you can pull page views, visitors, and custom events for your Vercel projects to analyze traffic, compare trends, and answer questions about site performance.


By providing a coding agent access to the CLI, an agent can answer questions such as:
Which pages gained the most traffic this week?
Which UTM campaigns drove the most signups this month?
Compare conversion events between mobile and desktop users.
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.