Integrations/Google Search Console
Google Search Console + agentsgym
A separate, opt-in connection to your Search Console properties: search analytics, URL Inspection and sitemap submission, asked for after sign-up, never during it, and revocable from your Google account in two clicks.
Facts checked 2026-11-11. Prices and limits are the vendor's published numbers on that date.
Search Console is the only source that tells you which queries Google actually showed you for, and which submitted pages it has refused to index. agentsgym connects to it opt-in: the connection is a button in settings, not a step in sign-up.
Connecting
- Sign in to agentsgym (sign-in itself never touches Search Console).
- Open Settings → Search Console and press Connect. You go to Google’s consent screen for one scope.
- Approve
https://www.googleapis.com/auth/webmasters. You return to agentsgym with every site matched to its property and its sitemap submitted once.
That is the whole flow. The consent asks for access_type: offline so Google returns a refresh token, which is what lets the daily job read your data without you being logged in.
What we can and cannot do with it
| Scope requested | https://www.googleapis.com/auth/webmasters (read and write) |
| We read | Your Search Console properties, search analytics, sitemaps, and URL Inspection results |
| The one write | sitemaps.submit: on connect, on a property change, and when you or your agent press Submit sitemap. Every submission is logged on the site |
| We never | Add or remove properties, delete sitemaps, change settings, or Request indexing (no API exists for that button; it stays manual) |
| Auto submit (opt-in) | A separate service account, not this connection: asks Google (Indexing API) and IndexNow to crawl new and unindexed pages, once a day. It does not promise indexing |
| Property per site | Auto-matched by domain (Domain property first, closest ancestor next, then URL-prefix); a picker on each site page overrides it |
| Where the token lives | Encrypted server-side against your account; never exposed to the browser or to another user |
| Revoke | Settings → Disconnect, or Google Account → Security → Third-party access |
Submitting a sitemap
Submit sitemap on a site’s Indexing card, or the submit_sitemap tool over MCP, does this in order:
- Submits the sitemap (
/sitemap.xmlor/sitemap-index.xml, or the URL you give) withsitemaps.submit. - Reads it back: last submitted, last downloaded, warnings and errors.
- Runs URL Inspection on up to 10 of the URLs it lists and shows how many are indexed.
Each attempt, including a refusal from Google, is logged against the site.
Auto submit (opt-in)
Off until you turn it on for a site. Then, once a day, agentsgym takes the sitemap pages Google has not indexed yet and sends them to Google’s Indexing API and to IndexNow, which shares them with Bing, Yandex and the other IndexNow engines.
- Which pages. New in the sitemap since the last day, “URL is unknown to Google”, “Discovered - currently not indexed”, or pages whose last Google visit failed and that answer now. Each must answer 200, be allowed in robots.txt and be its own canonical. Never “Crawled - currently not indexed”: Google saw that page and passed on it, so it needs better content, not another request.
- How much. At most 20 pages per site a day to Google, each page once in 30 days. Every submission and Google’s answer is stored on the site.
- What Google says. The Indexing API is documented for pages with job postings or livestream videos only, Google’s spam policies apply to what is submitted, and its limits may not be worked around with extra accounts. agentsgym uses one account, for pages of your own site, and only when you opt in. Google can ignore a notification or end the access at any time.
- What it does not do. It does not get a page indexed. A submission asks for a crawl; whether the page is indexed is Google’s call. agentsgym shows, after a week, how many submitted pages Google crawled and indexed, next to pages it held back on purpose, so you can see whether it helps your site and switch it off if it does not.
To turn it on, the site’s Search Console property needs agentsgym’s service account as an owner, and the site serves one small key file for IndexNow. The site page lists both steps.
What the dashboard shows today
Submitted pages Google has not indexed, reconstructed from your sitemaps + the URL Inspection API (the public API has no Pages report). Reasons are grouped the way Search Console groups them; each URL links to Inspect so you can Request indexing yourself (there is no API for that button). Per-query and per-page impressions/clicks are still the next release.
Domain Rating, referring domains, cookieless traffic and AEO scans all work without connecting anything.
Why bother at all
Because the three data sets answer different questions, and only together do they explain a flat month:
- Authority (Domain Rating, referring domains): is the domain gaining weight?
- Search Console: is Google showing the pages, and for what?
- First-party analytics: did anyone actually arrive and land where you wanted?
Once your agent can read all three, “why did nothing happen this month” becomes an answerable question; see Claude Code + agentsgym.
Questions
- What permission does agentsgym ask for?
- One scope: https://www.googleapis.com/auth/webmasters (read and write). Google describes it as seeing, editing, creating and deleting your Search Console data. agentsgym uses exactly one write call, submitting a sitemap (sitemaps.submit), and reads everything else: search analytics, sitemaps, URL Inspection.
- Why read and write, not read-only?
- Submitting your sitemap is the one supported way to tell Google about your pages by API, and it needs the write scope. agentsgym submits it once when you connect, when a property is assigned to a site, and when you or your agent press Submit sitemap. Each submission is logged on the site; nothing else in your Search Console is ever changed.
- Can agentsgym click Request indexing for me?
- No. Google has no public API for Request indexing; that button stays manual in Search Console. The supported path is the sitemap: agentsgym submits it, reads it back (last submitted, last downloaded, warnings) and runs URL Inspection on the listed URLs, so you see what Google did instead of assuming it. Auto submit, below, is a separate opt-in that asks Google for a crawl; it is not that button and it does not promise indexing.
- What is auto submit, and does it get my pages indexed?
- An opt-in per site. Once a day agentsgym sends your new and unindexed sitemap pages to Google's Indexing API and to IndexNow (Bing, Yandex and other engines). A submission asks for a crawl, nothing more: Google decides what to index. Google documents the Indexing API only for job postings and livestream videos, applies its spam policies to what is submitted and can ignore a notification or end access at any time. agentsgym uses it for pages of your own site, at most 20 a day, each page once in 30 days, and shows whether submitted pages were crawled sooner than pages it held back.
- How is each site matched to a property?
- Automatically by domain: the Domain property of the host (sc-domain:example.com), then the closest ancestor Domain property (t.example.com falls under sc-domain:example.com), then an https URL-prefix property. You can pick or change the property per site on the site page.
- Why is it a separate step from signing in?
- Google requires app verification before more than 100 users may grant that scope. Keeping it off the sign-up path means the review never blocks registration: you can use agentsgym fully without ever connecting Search Console.
- How do I disconnect?
- Disconnect from the settings page, or revoke agentsgym under your Google Account permissions. Either kills the refresh token for agentsgym.
Try it on your own domain
One project is free: a daily Domain Rating reading, referring domains, cookieless pageviews and AEO scans — all readable by your agent over MCP.
Check a site free