How It Works
After publishing a dataset to the DatasetAPI Hub, add a single line at the bottom of your domain’s https://yourdomain.com/robots.txt:
User-agent: *
Allow: /
Sitemap: https://yourdomain.com/sitemap.xml
Dataset: https://datasetapi.ai/datasets/your-org/your-dataset
Why Add a Dataset: Directive?
- Cryptographic-equivalent domain provenance: Clicking Verify robots.txt in the DatasetAPI Console (or calling
POST /v1/projects/{id}/verify-robots) checks your liverobots.txtand awards the Verified Domain badge on your public Dataset Card. - Canonical deduplication protection: A verified domain dataset always takes canonical precedence over third-party crawls of the same hostname.
- Clean structured ingestion for AI bots: Instead of scraping client-rendered DOM chrome, compliant AI agents can follow the URL straight to
schema.org/DatasetJSON-LD and clean JSONL downloads.