Peach / Docs / API

Results and reports

Before and after results for each published article, visits from AI assistants and crawlers, and the weekly reports.

Updated

This page as Markdown

In short. After an article goes live, Peach asks the questions it targets again on days 7, 14 and 30 and compares the answers with a baseline from day 0. The results, your AI traffic and the weekly reports are all free to read.

All paths are relative to https://app.gotopeach.com/api/v1.

Results

Endpoint What it does Credits Key permission
GET /sites/{domain}/results Before and after: for each published article, whether its target questions now name the brand (with a control set). MCP: get_results. Free results
GET /articles/{id}/results One article's re-checks in full, with the answers before and after. Free results

For each published article that targets tracked questions:

  • Checkpoints on days 0, 7, 14 and 30 ask its target questions again, beside a few control questions the article doesn't target. Day 0 is the baseline.
  • Each checkpoint says how often the brand was named, and linked, before and after, with the number of answers behind each figure.
  • The verdict, per engine and overall: Improved, Improved (no comparison), Engine-wide shift (the control questions moved too), No change, Dropped, or Not enough data. The day 30 verdict is final.
  • GET /articles/{id}/results adds the answers themselves, before and after, side by side.

A proof.verdict webhook is sent for each checkpoint after day 0.

AI traffic

Endpoint What it does Credits Key permission
GET /sites/{domain}/traffic Visits from AI assistants and AI crawlers, by day, agent and page. Free results
POST /sites/{domain}/traffic/logs Upload a server access log (text, up to 4 MB) to count AI crawler visits; the file is not kept. Free results + write

Visits from AI assistants (people following a link from ChatGPT, Gemini, Perplexity and others) and from AI crawlers, by day, agent and page. days sets the period, 1 to 365 (90 by default). Dates are in UTC.

The numbers come from Peach's traffic snippet on your site (set up in the app), from your Peach blog, and from server logs you upload.

To upload a log, send it as the request body, as text of up to 4 MB:

curl -X POST https://app.gotopeach.com/api/v1/sites/acme.com/traffic/logs \
  -H "Authorization: Bearer $PEACH_API_KEY" \
  -H "Content-Type: text/plain" \
  --data-binary @access.log

Only visits from AI crawlers and AI assistants are counted, never ordinary search crawlers. The file itself is not kept.

Google Analytics and Search Console

Endpoint What it does Credits Key permission
GET /sites/{domain}/traffic/google The site's traffic from Google Analytics 4 and Search Console: all visits, visits from AI assistants, or Google search (connect Google in the app first). MCP: get_site_traffic. Free results

Your site's traffic from Google Analytics 4 and Google Search Console, once someone on the account has connected Google in the app (Results, then Connections). view picks what to read:

  • all: every visit, by day, by channel and by landing page.
  • ai: visits from AI assistants: GA4's "AI Assistant" channel, plus visits from the AI sites Peach knows (ChatGPT, Perplexity, Gemini, Claude, Copilot and others), by assistant and page.
  • google: visits from Google search in GA4, plus Search Console's clicks, impressions, click rate, average position, top searches and top pages.

days is 7, 28 or 90 (28 by default). Each source answers with its own state: ok with data, or not_connected, no_property (connected, but no GA4 property or Search Console site chosen for this site yet), needs_reconnect (Google access was removed; connect again in the app) or error with a message. A source that can't be read is never shown as zero traffic. Reports are kept for up to 6 hours; Search Console data is about two days behind.

Weekly reports

Endpoint What it does Credits Key permission
GET /sites/{domain}/reports The site's weekly reports, newest first. MCP: list_weekly_reports. Free results
GET /reports/{id} One weekly report. MCP: get_weekly_report. Free results
POST /sites/{domain}/reports/preview This week's report so far (not stored or emailed). Free results
PATCH /sites/{domain}/reports/email Switch the weekly report email for the site on or off. Free results + write

A report covers one week, Monday to Sunday (UTC): visibility against the week before, questions won and lost, the top opportunities, content published and in review, re-check results and AI traffic. A quiet week is kept without being emailed.

  • POST /sites/{domain}/reports/preview shows this week so far, without keeping or emailing it.
  • PATCH /sites/{domain}/reports/email with reportEmail: true or false switches the site's weekly email on or off.
  • A report.ready webhook is sent when a week's report has something in it.