visibility
GET /v1/visibility/audits/{auditId}/pages
Every affected page of a site audit, with its faults.
Authentication
Send an API key as a bearer token. The endpoint checks sites.view; a key without it is refused with 403, not 404.
This endpoint takes no organisation id. Your key already identifies the organisation it belongs to, and the response is scoped to it.
Try it
Replace anything in angle brackets with your own values, and the key placeholder with a key from your dashboard.
curl -X GET https://api.zinndigital.com/v1/visibility/audits/{auditId}/pages \
-H "Authorization: Bearer zdk_live_…"Signed in? The API console in your dashboard fills in your real organisation id and your own key, and runs the request against the live API so you can see the actual response. Open this endpoint in the API console
Details
P5-057. A site audit (kind=onpage) counts each fault; this lists WHICH pages carry it: every crawled URL with at least one fault, its HTTP status, its fault codes (the same codes as the audit's findings), the broken link targets on it and, for a page that cannot be indexed, why. Complete, never a sample: the audit's crawl budget bounds it, plus the non-indexable URLs the crawler found. Read from the crawl the audit already paid for, so it spends nothing. issue_counts counts pages per code over the whole list before issue filters it. Refused with 422 (refusal.visibility.onpagePagesUnavailable) when the crawl's pages can no longer be read: run the audit again.
Parameters
| Name | Type | Required | What it is |
|---|---|---|---|
auditId (path) | string | Yes | — |
issue (query) | string | No | Only the pages carrying this fault code, e.g. no_h1_tag or broken_links. |
Response
| Name | Type | Required | What it is |
|---|---|---|---|
audit_id | string | Yes | — |
issue | string | Yes | The issue filter applied, or empty. |
count | integer | Yes | Pages in pages. |
issue_counts | object | Yes | Pages per fault code, over every affected page. |
pages | object[] | Yes | — |
Errors this endpoint can return
401 · 403 · 404 · 422