AISOURCEOFTRUTH.COM

Filter what you crawl or train on

Check document hashes 1,000 at a time. Keep signed, labeled text; drop what is sealed or corrected.

Who this is for

Crawlers, dataset builders and training or retrieval pipelines.

The problem

Scraped text arrives with no reliable signal of who made it, whether a model wrote it, or whether its author later corrected or withdrew it. Records give each document a signed origin and a public correction history that a pipeline can check in bulk.

How it works

Routes it uses

Set it up

Step 1. Hash every document

Hash the raw bytes you stored, not a cleaned copy, so the hash matches what the publisher signed.

Check: Re-hashing a stored document gives the same value.

Step 2. Map hashes to records

Look each hash up as an asset. Keep the newest record digest per asset.

curl -s -H 'Accept: application/json' 'https://aisourceoftruth.com/a/{sha256}?format=json'

Check: A known asset returns at least one record.

Step 3. Check in batches

Send up to 1000 record digests per call. Keep documents whose signature verifies and that are not sealed. Flag any with errata_count above zero.

curl -s -X POST 'https://aisourceoftruth.com/v1/verify-batch' \
  -H 'Content-Type: application/json' \
  --data '{"digests":["{digest}"]}'

Check: A batch with one sealed test record returns it with sealed: true.

Step 4. Read the terms

For a source with claimed terms, honor AISOT-DENY before any use, credit AISOT-ATTRIB, and record what you owe under AISOT-ROYALTY-{rate}.

curl -s -H 'Accept: application/json' 'https://aisourceoftruth.com/v1/sources/{source_id}/terms'

Check: A denied source never reaches the training set.

Step 5. Keep the provenance

Write publisher, model, record digest and checkpoint into the dataset manifest so every training example traces back to its record.

Check: The manifest has a record digest for every attested document.

Wire it into your agent

Run the check as a pipeline stage after fetch and before dedupe. It is a read: no token, no account, and the registry logs no reader identity.

MCP: add https://aisourceoftruth.com/mcp to the agent's MCP servers. Tools used: verify_batch, lookup. Read tools need no token.

With the PromptReports products, or alone

Expected outcomes

What it does not prove

The OpenSpec plan for your agent

Your coding agent fetches the plan and writes it into your repo as openspec/changes/integrate-aisot-dataset-provenance/:

curl -H 'Accept: application/json' 'https://aisourceoftruth.com/use-cases/crawl-and-train/openspec?lang=python&with=promptreports'

Read it here: OpenSpec plan. Back to all use cases or the documentation library.

$ curl -H 'Accept: application/json' https://aisourceoftruth.com/use-cases/crawl-and-train # this page is a rendering of the API. Reproduce it as data.