How to verify AI crawler access, robots.txt and llms.txt

Verify the final public URL, the /robots.txt served on that origin and the edge response separately. A robots rule expresses crawler policy. The edge determines whether a request actually reaches your page.

Which user-agent rules should you check?

Robots tokenPublished purpose
OAI-SearchBotDiscover content for ChatGPT search.
GPTBotCollect content that may be used for model training.
ChatGPT-UserFetch pages for user-initiated actions. Robots rules may not apply to these requests.
ClaudeBotCollect content that may be used for model training.
Claude-SearchBotDiscover content for Claude search responses.
PerplexityBotDiscover and link sources in Perplexity search.
Google-ExtendedControl use in specified Gemini training and grounding contexts. Google Search uses separate crawler controls.
Applebot-ExtendedControl Apple’s use of Applebot data for foundation-model training. Applebot handles crawling.

RFC 9309 defines robots group and path matching. Providers define the purposes of their own tokens. See OpenAI, Anthropic, Perplexity, Google and Apple.

Verify policy and delivery

  1. Resolve redirects and request /robots.txt on the final scheme, host and port. Inspect the deployed body. A staging User-agent: * with Disallow: / can block every agent without a specific matching group. Matching named groups are combined. The longest matching path wins, with Allow preferred for equally specific rules.
  2. Check edge and origin status for the URL and robots file. A WAF block, CDN challenge or rate limit can prevent access even when robots allows the path. Use edge logs and provider-published verification methods to confirm crawler identity. A copied user-agent string alone proves only what your test request sent.
  3. Check the delivered HTML for the intended canonical, indexing directives and parseable JSON-LD. Missing or conflicting canonicals make URL selection less explicit. Missing or malformed JSON-LD removes structured evidence. Check that markup describes visible page content.
  4. Request /llms.txt directly. Check for a successful response containing Markdown with an H1 and working links to canonical pages. A login response, HTML fallback or broken link list can make the file unusable. The llms.txt proposal describes a content guide. Robots policy remains in /robots.txt.

Run the deterministic ScanTheLink check

Call check_site_posture with only an active, owned website scan_id. It captures the final HTTP status, redirects and TLS evidence, evaluates all eight tokens against the fetched rules for that URL, checks /llms.txt presence and reports JSON-LD parse counts and observed types. There is no blended crawler score. The check evaluates rules without impersonating each crawler, and the file and JSON-LD checks cover presence and parsing. Confirm formatting, schema semantics and actual bot delivery separately when needed.

Keep blocked or unavailable observations explicit. Use the audit methodology for evidence limits and the post-deploy checklist to repeat the checks after release.