> Portal Navigation:
> 
> - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version.
> - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages).
> - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`).
> - Top-level index of all portals: https://dev.wix.com/docs/llms.txt
> - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt

# GetInspection

# Package: googleSearchConsole

# Namespace: GscService

# Method link: https://dev.wix.com/docs/api-reference/business-management/seo/google-search-console/site-readiness-v1/get-inspection.md

## Permission Scopes:
View SEO Settings: SCOPE.PROMOTE.VIEW-SEO

## Introduction

Retrieves the stored results of the site's latest URL inspection.

Returns the results accumulated by Inspect URLs, including partial results
while an inspection is still `ONGOING`.

---

## REST API

### Schema

```
 Method: getInspection
 Description: Retrieves the stored results of the site's latest URL inspection.  Returns the results accumulated by Inspect URLs, including partial results while an inspection is still `ONGOING`.
 URL: https://www.wixapis.com/gsc/connection/v1/inspection
 Method: GET
 Return type: GetInspectionResponse
  - name: results | type: array<InspectedPage> | description: Results of the pages inspected so far.  
     - name: page | type: SitePage | description: The inspected page.  | read-only: true 
        - name: pageId | type: string | description: GUID of the page.  | read-only: true | validation: maxLength 200
        - name: name | type: string | description: Display name of the page.  | read-only: true | validation: maxLength 1000
        - name: path | type: string | description: URL path of the page.  | read-only: true | validation: maxLength 2000
        - name: itemType | type: string | description: Item type of the page. For example, `static-page` or a vertical item type.  | read-only: true | validation: maxLength 100
     - name: status | type: string | description: Whether the page's inspection succeeded. `OK` or `ERROR`.  | read-only: true | validation: maxLength 20
     - name: data | type: object | description: Google's raw URL-inspection result for the page, as returned by the Google Search Console [URL Inspection API](https://developers.google.com/webmaster-tools/v1/urlInspection.index/inspect).  Any human-readable text in this payload (issue descriptions and the like) is in English. Verdicts and states are stable identifiers, so localize from those rather than from the text.  | read-only: true 
     - name: createdDate | type: string | description: Date and time this result was produced.  | read-only: true | validation: format date-time
  - name: status | type: InspectionStatus | description: Status of the inspection. `ONGOING` means Wix is still inspecting the remaining pages in the background.  
     - enum:
     -     UNKNOWN_INSPECTION_STATUS: Unknown inspection status.
     -     ONGOING: The inspection is still running in the background.
     -     COMPLETE: The inspection finished, and nothing is running in the background anymore. Pages can still be left uninspected if the connected account's Google quota ran out, so check the remaining page count.
     -     ERROR: The inspection stopped with an error.
  - name: remainingPageCount | type: integer | description: Number of pages not inspected yet.  | validation: format int32
  - name: updatedDate | type: string | description: Date and time the stored results were last updated.  | validation: format date-time


```

### Examples

### Get Inspection
```curl
curl -X GET \
'https://www.wixapis.com/gsc/v1/inspection' \
-H 'Authorization: <AUTH>'
```

---

## JavaScript SDK

### Schema

```
 Method: wixClientAdmin.gsc.siteReadiness.getInspection()
 Description: Retrieves the stored results of the site's latest URL inspection.  Returns the results accumulated by Inspect URLs, including partial results while an inspection is still `ONGOING`.
 Return type: PROMISE<GetInspectionResponse>
  - name: results | type: array<InspectedPage> | description: Results of the pages inspected so far.  
     - name: page | type: SitePage | description: The inspected page.  | read-only: true 
        - name: pageId | type: string | description: GUID of the page.  | read-only: true | validation: maxLength 200
        - name: name | type: string | description: Display name of the page.  | read-only: true | validation: maxLength 1000
        - name: path | type: string | description: URL path of the page.  | read-only: true | validation: maxLength 2000
        - name: itemType | type: string | description: Item type of the page. For example, `static-page` or a vertical item type.  | read-only: true | validation: maxLength 100
     - name: status | type: string | description: Whether the page's inspection succeeded. `OK` or `ERROR`.  | read-only: true | validation: maxLength 20
     - name: data | type: object | description: Google's raw URL-inspection result for the page, as returned by the Google Search Console [URL Inspection API](https://developers.google.com/webmaster-tools/v1/urlInspection.index/inspect).  Any human-readable text in this payload (issue descriptions and the like) is in English. Verdicts and states are stable identifiers, so localize from those rather than from the text.  | read-only: true 
     - name: _createdDate | type: Date | description: Date and time this result was produced.  | read-only: true 
  - name: status | type: InspectionStatus | description: Status of the inspection. `ONGOING` means Wix is still inspecting the remaining pages in the background.  
     - enum:
     -     UNKNOWN_INSPECTION_STATUS: Unknown inspection status.
     -     ONGOING: The inspection is still running in the background.
     -     COMPLETE: The inspection finished, and nothing is running in the background anymore. Pages can still be left uninspected if the connected account's Google quota ran out, so check the remaining page count.
     -     ERROR: The inspection stopped with an error.
  - name: remainingPageCount | type: integer | description: Number of pages not inspected yet.  | validation: format int32
  - name: _updatedDate | type: Date | description: Date and time the stored results were last updated.  


```

### Examples

### Get the stored results of the site's latest URL inspection
```javascript
import { siteReadiness } from "@wix/gsc";

async function getInspection() {
  const response = await siteReadiness.getInspection();
}

/* Promise resolves to:
 * {
 *   "results": [
 *     {
 *       "page": {
 *         "pageId": "c1dmp",
 *         "name": "Home",
 *         "path": "/",
 *         "itemType": "static-page"
 *       },
 *       "status": "OK",
 *       "data": {
 *         "inspectionResult": {
 *           "indexStatusResult": {
 *             "verdict": "PASS",
 *             "coverageState": "Submitted and indexed",
 *             "robotsTxtState": "ALLOWED",
 *             "indexingState": "INDEXING_ALLOWED",
 *             "lastCrawlTime": "2026-08-29T11:47:03.000Z",
 *             "pageFetchState": "SUCCESSFUL",
 *             "googleCanonical": "https://www.my-fashion-store.com/",
 *             "userCanonical": "https://www.my-fashion-store.com/"
 *           }
 *         }
 *       },
 *       "createdDate": "2026-09-01T08:24:51.000Z"
 *     }
 *   ],
 *   "status": "ONGOING",
 *   "remainingPageCount": 12,
 *   "updatedDate": "2026-09-01T08:24:51.000Z"
 * }
 */

```

### getInspection (self-hosted)
Self-hosted SDK calls require you to [create a client](https://dev.wix.com/docs/sdk/articles/work-with-the-sdk/about-the-wix-client.md).

```javascript
import { createClient } from '@wix/sdk';
import { siteReadiness } from '@wix/gsc';
// Import the auth strategy for the relevant access type
// Import the relevant host module if needed

const myWixClient = createClient ({
  modules: { siteReadiness },
  // Include the auth strategy and host as relevant
});


async function getInspection() {
  const response = await myWixClient.siteReadiness.getInspection();
};
```

---