Lookout
v0.3.1Ask about Vercel Web Analytics and Speed Insights across all your projects and boards.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_boards List boards
The workspace's boards (each a dashboard of sites), with their ids and site counts.
get_board Get a board
Every site on a board for a range, busiest first: visitors and their change vs the previous period, page views, pages per visit, top source and country, and goal conversions.
| Parameter | Type | Description |
|---|---|---|
board * | string | A board's id from list_boards (a UUID), or its exact name |
range | 24h, 7d or 30d, or a custom window { "from": "YYYY-MM-DD", "to": "YYYY-MM-DD" } (UTC days, up to 31). Default 7d. |
get_site Get a site
One site in depth for a range: visitors per day (or hour for 24h) with the previous period, top referrers, countries and pages, its production deployments, its Core Web Vitals (Speed Insights p75), and, with board, the board's notes dated in the range. One API request.
| Parameter | Type | Description |
|---|---|---|
site * | string | A site's id (its Vercel project id), from get_board |
board | string | A board the site is on (id or name), to include its notes |
range | 24h, 7d or 30d, or a custom window { "from": "YYYY-MM-DD", "to": "YYYY-MM-DD" } (UTC days, up to 31). Default 7d. |
compare_sites Compare sites
Up to 5 sites side by side over a range. mode: absolute (visitors per bucket), indexed (each site's first non-zero bucket = 100) or baseline (each site's visitors as % of the baseline site's). One API request per site.
| Parameter | Type | Description |
|---|---|---|
sites * | array | 1 to 5 site ids, from get_board |
baseline | string | For mode baseline: the site the others are measured against (default: the first) |
mode | string | |
range | 24h, 7d or 30d, or a custom window { "from": "YYYY-MM-DD", "to": "YYYY-MM-DD" } (UTC days, up to 31). Default 7d. |
get_campaigns Get campaigns
A site's visitors by UTM campaign, source and medium for a range, with the goal's conversions. Needs Vercel Web Analytics Plus or Enterprise; otherwise status is plan_required.
| Parameter | Type | Description |
|---|---|---|
site * | string | A site's id (its Vercel project id), from get_board |
range | 24h, 7d or 30d, or a custom window { "from": "YYYY-MM-DD", "to": "YYYY-MM-DD" } (UTC days, up to 31). Default 7d. |
get_flow Get traffic between sites
Traffic between a board's sites for a range: each site's visitors, and hops (from, to, visitors) — visits to a site whose referrer is another site of the same board. External traffic is not included.
| Parameter | Type | Description |
|---|---|---|
board * | string | A board's id from list_boards (a UUID), or its exact name |
range | 24h, 7d or 30d, or a custom window { "from": "YYYY-MM-DD", "to": "YYYY-MM-DD" } (UTC days, up to 31). Default 7d. |
get_speed Get Core Web Vitals
A site's Core Web Vitals from real visitors (Vercel Speed Insights, p75, production) for one device — LCP, INP, CLS and a passing / needs_work / poor / off status — with its slowest routes by LCP.
| Parameter | Type | Description |
|---|---|---|
site * | string | A site's id (its Vercel project id), from get_board |
device | string | all, mobile or desktop visitors |
range | 24h, 7d or 30d, or a custom window { "from": "YYYY-MM-DD", "to": "YYYY-MM-DD" } (UTC days, up to 31). Default 7d. |
list_fixes List what to fix
A board's Fix list for a range, ranked by visitors affected: slow Core Web Vitals, sites that send nobody onward, sites most visitors leave after one page, low conversion, falling traffic, untagged social campaigns, and setup gaps (no goal, no Speed Insights, no Web Analytics). Each item has its kind, site, title, detail, why it matters and how to verify a fix. status: open (default), snoozed or resolved.
| Parameter | Type | Description |
|---|---|---|
board * | string | A board's id from list_boards (a UUID), or its exact name |
range | 24h, 7d or 30d, or a custom window { "from": "YYYY-MM-DD", "to": "YYYY-MM-DD" } (UTC days, up to 31). Default 7d. | |
status | string | open, snoozed or resolved |
list_alerts List alerts
The workspace's alert rules (board, metric, drop or rise, threshold %) and what fired in the last 30 days.
add_annotation Add a note
Pins a note to a day on a board's charts, e.g. "Launched pricing v2": for one site (scope "site", the default when site is given) or every site on the board (scope "board"). Needs a key with write access ("Allow notes and exports"). Text is kept to 80 characters.
| Parameter | Type | Description |
|---|---|---|
board * | string | The board the note goes on: its id from list_boards, or its exact name |
date * | string | The day, YYYY-MM-DD (UTC) |
text * | string | What happened, e.g. Launched pricing v2 |
scope | string | site: only this site's charts; board: every site on the board. Default: site when site is given, else board |
site | string | The site the note is about (needed for scope site) |
export_board Export a board
Makes a download link for a board as a PDF (the board as a page) or CSV (one row per site). The link works for 5 minutes. Needs a key with write access ("Allow notes and exports").
| Parameter | Type | Description |
|---|---|---|
board * | string | A board's id from list_boards (a UUID), or its exact name |
fmt | string | pdf or csv |
range | string | 24h, 7d or 30d |
ask_lookout Ask Lookout
A question about the workspace's sites in plain words ("Which site lost the most traffic this week and why?", "Which board grew fastest?"), answered by Lookout only from its own figures: one sentence with the key number, up to three supporting points, the most relevant site, and, when it compares several sites or boards, a small chart. scope workspace reads every board (sites counted once); scope board reads one board.
| Parameter | Type | Description |
|---|---|---|
question * | string | The question, in plain words |
board | string | For scope board: the board's id or name |
range | 24h, 7d or 30d, or a custom window { "from": "YYYY-MM-DD", "to": "YYYY-MM-DD" } (UTC days, up to 31). Default 7d. | |
scope | string | workspace: every board; board: one board (needs board) |