List page issues
Indexing and page experience issues of a property with their URL count and validation state.
GET https://cotlet.dev/api/v1/google-search-console/page-issues
Returns the rows of the "Why pages aren't indexed" table and the "Improve page experience" table: the reason, its source, the number of pages and, if a fix was submitted, the validation state (Not started, Started, Looking good, Passed or Failed). Use the reason as status in list_pages_by_index_status. An issue drops off the table 90 days after its last instance is gone.
Parameters
| Name | Type | Description |
|---|---|---|
| property string required | string | Property as Search Console lists it: sc-domain:example.com for a Domain property, https://example.com/ for a URL-prefix property. |
| kind enum | enum | not_indexed or page_experience. Default: not_indexed. |
Request
curl "https://cotlet.dev/api/v1/google-search-console/page-issues?property=property" \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("google-search-console", "list_page_issues", {"property":"property"}) const result = await cotlet.call('google-search-console', 'list_page_issues', {"property":"property"}); cotlet call google-search-console list_page_issues --data '{"property":"property"}' Example response
{
"property": "sc-domain:example.com",
"indexed_pages": 5820,
"issues": [
{
"reason": "Crawled - currently not indexed",
"source": "Google systems",
"pages": 1412,
"validation": "Not started"
},
{
"reason": "Discovered - currently not indexed",
"source": "Google systems",
"pages": 388,
"validation": "Not started"
},
{
"reason": "Not found (404)",
"source": "Website",
"pages": 64,
"validation": "Started"
}
]
}