Get a site audit
Returns one audit: request, brand, status, and timestamps, the collected data (the page with its response, preview, and rendering, robots_txt, sitemap candidates, and mobile Lighthouse), and the issues found from it. Each collected item says whether collection failed, so a failed fetch is never reported as a missing resource. The audit reports issues and gives no recommendations.
/site-audits/{audit_id}AuthorizationBearer token · headerrequiredAPI key sent as Authorization: Bearer <key>. A key belongs to one workspace, has scopes, and can be limited to some brands.
AuthorizationOAuth2 access token · headerrequiredOAuth 2.1 sign-in (authorization code with PKCE) used by AI assistants that connect through the Zaraftis MCP server. Discovery URLs are at https://api.zaraftis.com/api/auth.
audit_idstring<uuid>requiredOne Site audit with collected data and issued issues
SiteAuditEnvelopenot_found: unknown id, or an id this key cannot see
successbooleanrequirederrorobjectrequiredShow propertiesHide properties
codestringrequiredmessagestringrequiredretryablebooleanrequireddetailsobjectfield_errorsobject[]Show propertiesHide properties
objectfieldstringrequiredcodestringrequiredrequiredformattoo_smalltoo_largeunrecognized_keyinvalidmessagestringrequiredrequest_idRequestIdrequired