Returns the latest site audit: score, issues by severity with affected pages, the prioritized fix plan, and aiCrawlerAccess: what the site's robots.txt says to each AI crawler (allowed, blocked, no rule, or unknown), not whether an edge or WAF lets it through. Each page carries render: how a crawler that runs no JavaScript reads it, as class js_heavy (needs JavaScript), static_html (pre-built HTML) or raw_html (content in the HTML, no sign it was pre-built), or null with why when its raw fetch failed, plus keyPage (homepage, pricing, compare, demo, contact and similar); a js_heavy key page is a fix candidate. Sites that serve AI bots pre-rendered HTML by user agent (dynamic rendering) still read as js_heavy, because Mark fetches with its own user agent. Four checks are recommendations that do not change the score: article_schema_incomplete (a post's Article JSON-LD lacks recommended fields such as a Person author), schema_only_after_js (JSON-LD that appears only after JavaScript runs), ai_crawler_blocked (robots.txt blocks an AI search or user-fetch bot) and hub_missing (the homepage header and footer miss one or more of these sections: features or services, pricing, compare, resources, and company; detail.missing lists them). Two site-structure checks do count: money_page_few_links (a pricing, feature, service, product or comparison page with fewer than 2 internal links; detail.inboundLinks) and standard_page_missing (no Privacy, Terms, or Contact or Support page, or the one found returns 4xx or 5xx or has under 50 words; detail.missing and detail.broken). agenticReadiness holds Google Lighthouse's experimental agentic browsing checks (Chrome 150+, may change), run through PageSpeed Insights on up to three pages: each check is pass, fail, na, informative or error (couldn't check), read as N of M passed over pass and fail only, never a score; llms.txt is Mark's own fetch by Lighthouse's rules; markdown (what Accept: text/markdown returns) and links (the homepage's Link header) are Mark's facts, not scored; a failing check is also an informational agentic_* issue. With saved identity links, the incomplete Organization schema finding points (appUrl) at the Brand page's Organization JSON-LD, which get_brand_context returns as organizationJsonLd. aiCrawler404s (primary site with PostHog connected, else empty) lists pages AI assistants can't find: paths assistants fetched 3+ times in 7 days, over 2+ days or from 2+ assistants, that answered 404 on Mark's daily check, each with hits, assistants, checkedAt and a recommendation: redirect (a 301 to url, with the matchedTerms), keep_404 (no confident match; redirecting to an unrelated page is a soft 404), no_audit (run an audit for a suggestion) or publish_file (robots.txt, a sitemap, llms.txt or /.well-known/: publish the file rather than redirect). Dismissed paths are left out. A site with no audit yet returns audit null when it has aiCrawler404s, and an error otherwise.
Poll this after run_site_audit. Related: run_site_audit, check_site_readiness, get_brand_context, dismiss_ai_crawler_404.