Documentation menu

Getting started

Tracking

Using Quietlytics

Help

Using Quietlytics

Speed reports for agents

Export your Speed report, or let a script or AI agent fetch it, to find and fix slow pages.

Your Speed page can be handed to a person, a script or an AI agent as a file. The report lists what is slow, where, and (for visits from Chrome and Edge) which part of the page is behind it, so an agent working on your site can find the right pages and fix them. Everything here is for the Pro plan.

Download it from the Speed page

On the Speed page, next to the 7d, 30d and 90d buttons, Export gives you the report for the website, range and filters you are looking at:

  • Copy puts the report on your clipboard as Markdown, ready to paste into a chat with an AI agent.
  • .md downloads the same Markdown as a file.
  • .json downloads it as JSON, for programs.
  • .csv downloads the Pages table, which opens in a spreadsheet.

Let a tool fetch it itself

On your account page, under Speed report key, press Make a key. Copy it straight away, because it is shown once. Keep it private, as you would a password, and store it as an environment variable rather than in your code. Making a new key stops the old one working, and Turn off stops it for good.

The key can download the Speed report for the websites on your account and nothing else. It cannot read your other analytics, change anything, or add markers.

curl -H "Authorization: Bearer $QUIETLYTICS_READ_KEY" \
  "https://quietlytics.app/api/speed/export?site=example.com&days=30&format=md"
  • site is a domain you have verified.
  • days is 7, 30 (the default) or 90.
  • format is json (the default), md or csv.
  • f_path, f_device, f_browser, f_os and f_country narrow the report to one value, like the filters on the Speed page.

The answers are 200 for a report, 400 for a bad format or filter, 401 for a key that is wrong or turned off, 402 if the account is not on a paid plan, 404 if the site is not one of yours, and 429 after more than 60 requests in an hour.

Using it with an AI agent

The simplest way is to press Copy on the Speed page and paste the report into your agent with a request such as "Fix the problems in this report, worst first". For a repeatable setup, give your agent the key as QUIETLYTICS_READ_KEY and tell it to fetch the report with the command above.

The report is written for this. It lists problems worst first, each with its page, the measure, the value and how many visits it covers. It also lists the causes it could name, such as the element that shifted most or the element that was the largest paint, written as tag#id.class. An agent can search your code for that name.

The data tells an agent where the problem is. It does not always tell it the right fix, so review what it proposes before you ship. A fix is confirmed by the next report: wait for enough new visits, then compare.

What the JSON contains

The JSON carries a format of quietlytics.speed and a version number. A tool should check both, and say so if the version is newer than it understands. New fields may be added within a version. Their meaning does not change.

  • summary: each measure's 75th-percentile value, its rating (good, needs_improvement or poor), the share of visits in each band, and the change from the previous period.
  • thresholds: the line between good and poor for each measure, and whether it is Google's or our own rule of thumb.
  • issues: everything not rated good, worst first, for the whole site and for each page.
  • pages, by_device, by_browser, by_country: the numbers split up. A value is null where there were too few measurements.
  • causes: for slow visits, the named elements behind layout shifts, the largest paint and slow interactions, and where the time went for the largest paint (server, loading, drawing).
  • trend: one row per day, with a 7-day rolling value.
  • markers: the notes you pinned in this window, such as deploys.

What is in the report

The report holds page paths, device, browser and country groups, timing numbers, JavaScript error counts and element names. It holds no visitor codes, no error messages and no page text, because Quietlytics never receives them. Treat the key like any other secret, and remember that anything you paste into an AI service goes to that service.