The Sitecore Community GraphQL Query Cookbook offers information from official Sitecore docs and community. While we aim for accuracy, users are encouraged to verify. We are not liable for errors or outcomes. Use at your own risk.
Get Robots.txt
GraphQL query to retrieve the robots.txt's content. This is being used the JSS SDK when rendering the robots.txt output