OpenAI runs GPTBot for training data and OAI-SearchBot for the sources of ChatGPT search; Anthropic runs ClaudeBot; Perplexity runs PerplexityBot; Google uses Google-Extended as the switch for training, while its search crawler, Googlebot, also feeds AI Overviews and AI Mode. Each publishes its user agent and its address ranges.
A site that blocks OAI-SearchBot cannot be cited by ChatGPT search; a site that blocks Googlebot disappears from Google altogether. Many sites blocked GPTBot in 2023 to stay out of training data without realising that the search crawlers are separate. The robots.txt file is where this is decided, robot by robot.