# Dashboard access requires sign-in

You can also investigate this project using the Vercel CLI. The commands below require a CLI session with access to the project.

If you don't have the CLI installed, run:

```sh
npm i -g vercel
```

Sign in with `vc login` if needed.

## Speed Insights

### Query P75 Largest Contentful Paint

```sh
vc metrics vercel.speed_insights.lcp_ms --scope hackpsu --project frontend-template --aggregation p75 --environment production --query 'deviceType:"desktop"' --since 7d --json
```

### Query P75 Interaction to Next Paint

```sh
vc metrics vercel.speed_insights.inp_ms --scope hackpsu --project frontend-template --aggregation p75 --environment production --query 'deviceType:"desktop"' --since 7d --json
```

### Query P75 Cumulative Layout Shift

```sh
vc metrics vercel.speed_insights.cls --scope hackpsu --project frontend-template --aggregation p75 --environment production --query 'deviceType:"desktop"' --since 7d --json
```

### Query P75 Largest Contentful Paint by route

```sh
vc metrics vercel.speed_insights.lcp_ms --scope hackpsu --project frontend-template --aggregation p75 --group-by route --environment production --query 'deviceType:"desktop"' --since 7d --json
```

### Discover Speed Insights metrics and dimensions

```sh
vc metrics schema vercel.speed_insights --scope hackpsu --json
```

