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 token | Published purpose |
|---|---|
OAI-SearchBot | Discover content for ChatGPT search. |
GPTBot | Collect content that may be used for model training. |
ChatGPT-User | Fetch pages for user-initiated actions. Robots rules may not apply to these requests. |
ClaudeBot | Collect content that may be used for model training. |
Claude-SearchBot | Discover content for Claude search responses. |
PerplexityBot | Discover and link sources in Perplexity search. |
Google-Extended | Control use in specified Gemini training and grounding contexts. Google Search uses separate crawler controls. |
Applebot-Extended | Control 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
- Resolve redirects and request
/robots.txton the final scheme, host and port. Inspect the deployed body. A stagingUser-agent: *withDisallow: /can block every agent without a specific matching group. Matching named groups are combined. The longest matching path wins, withAllowpreferred for equally specific rules. - 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.
- 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.
- Request
/llms.txtdirectly. 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.