Inspect a URL
inspect_urlUse this when the user asks whether one specific URL is indexed by Google and why. Runs the Google URL Inspection API for one URL and stores the result in the GSC Wizard inspection history. Returns the verdict, coverage state, robots.txt state, last crawl time, the fetched/crawled-as info, the Google-selected canonical (googleCanonical), the user-declared canonical (userCanonical), and a link to the result in Search Console (inspectionResultLink). A canonical field is null when Google did not report it for this URL (common for pages it has not indexed); it is never inferred from the page. GSC enforces a daily per-property quota, so call get_inspection_quota first if you plan to inspect many URLs. Not for many URLs: use bulk_inspect_urls (up to 25) or add_tracked_urls for scheduled checks; for stored past results use list_url_inspections.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| siteUrl | Yes | ||
| inspectionUrl | Yes | The fully-qualified URL to inspect. Must belong to siteUrl. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | No | ||
| siteUrl | No | ||
| verdict | No | ||
| nextStep | No | ||
| crawledAs | No | ||
| coverageState | No | ||
| indexingState | No | ||
| inspectionUrl | No | ||
| lastCrawlTime | No | ||
| referringUrls | No | ||
| userCanonical | No | ||
| pageFetchState | No | ||
| quotaExhausted | No | ||
| robotsTxtState | No | ||
| googleCanonical | No | ||
| inspectionResultLink | No |