AI search / discovery / registry 2026-09-18

OAI-SearchBot: robots.txt for ChatGPT search

Configure OAI-SearchBot for ChatGPT search separately from GPTBot training. Work through robots.txt rules, path restrictions and access checks.

By CrawlCharter · Source reviewed

The documented control

The robots.txt token is OAI-SearchBot. Its documented purpose is ai search / discovery. Read the vendor's current description to decide whether that purpose matches your policy goal.

Primary vendor documentation ↗

Does blocking GPTBot also block ChatGPT search?

No. OpenAI documents independent controls: OAI-SearchBot serves search, while GPTBot covers potential model-training use. ChatGPT-User handles user-initiated retrieval and may not follow robots.txt. Choose each purpose separately; a training opt-out is not a search opt-out.

What if OAI-SearchBot is allowed but cannot reach a page?

Evaluate the article path as well as /. Then check your server or CDN logs for challenges and denied requests. Compare the source IP with OpenAI's published searchbot ranges before changing firewall rules; a matching user-agent name alone is not proof of identity. Permitted access does not promise a citation.

Test the paths you actually publish

For the example below, paste the complete policy into the checker and try /articles/intro and /exports/customers.csv. OAI-SearchBot should be allowed on the article and disallowed on the export. GPTBot should be disallowed on both. If your own file gives different results, inspect the matched group and rule before editing it.

Worked robots.txt example

Review and merge this illustrative snippet with your existing file. Preserve required path restrictions and sitemap declarations. Specific crawler groups do not inherit wildcard restrictions.

OAI-SearchBot / illustrative text policy
User-agent: OAI-SearchBot
Disallow: /exports/

User-agent: GPTBot
Disallow: /

This illustrative policy permits OAI-SearchBot outside /exports/ and disallows GPTBot throughout the site. The explicit search group must include every path restriction you intend for that crawler. Exports containing private data still need authentication.

Test this policy and your own paths in the robots.txt checker

Sources and further reading

What this reference cannot prove

We describe text policy and documented purpose. We do not authenticate requests, confirm a vendor's internal processing, guarantee indexing, or establish that access was prevented. robots.txt is advisory; private content needs authorization. User-triggered retrieval may have different controls, as recorded in the source-backed note above.