Pipeline and receipts

Five stages, each one written into the receipt.

Every page comes back with a record of the level it was fetched at, why it was upgraded, what was checked, what the site said about AI use, and what it cost.

What happens to a URL

  1. 1.Resolve the target

    Normalize the URL and pick the starting fetch level: Standard, or the level that worked last time for this domain.

    source_url
  2. 2.Fetch, upgrading if blocked

    Fetch the page and record the status and time. A 403, a 429, a challenge screen or an empty shell moves the request up a level, Rendered and then Protected, within your max_level and max_cost.

    http_statusfetched_atfetch_levelupgradedupgrade_reason
  3. 3.Classify and hash

    Decide whether the page is real content using its status, anti-bot markers, sign-in prompts, and visible text, then hash the content for re-verification.

    content_checkcontent_check_reasonscontent_sha256
  4. 4.Record site signals

    Read robots.txt for the path, plus robots.txt rules for 14 AI bots, TDMRep, ai.txt, and noai directives, and combine the AI-use sources into one value.

    robots_txtai_use_signalai_use_details
  5. 5.Bill and deliver

    Bill the price of the level that returned the page, or $0 if no level got it, and return content and receipt together, so storing the data and its audit trail is one write.

    unit_cost_usdbilled_usdcurrency

Receipt fields

The receipt is plain JSON returned with each task and stored with the job.
Receipt fields
FieldMeaning
source_urlThe URL requested after normalization, query string included.
fetched_atWhen the response arrived. Null when the page was never fetched.
http_statusThe status received, kept when the fetch failed. Null when never fetched.
content_sha256SHA-256 of the fetched content.
content_checkWhether the page held real content. See the values below.
content_check_reasonsMachine-readable codes behind the verdict.
robots_txtWhat robots.txt said for this path at fetch time. Recorded, not enforced.
ai_use_signalCombined AI-use outcome across four sources.
ai_use_detailsOne entry per source with its own status and evidence.
fetch_levelThe level that returned the page, and the one you were billed for.
upgradedWhether the request went above the level its price includes.
upgrade_reasonWhy it was upgraded, in level names and HTTP facts.
unit_cost_usdThe price of the fetch level used.
billed_usdWhat this page actually cost.
currencyCurrency for both amounts.
SAMPLE RECEIPT / JSON
{
  "source_url": "https://shop.example.com/products/trail-runner",
  "fetched_at": "2026-12-03T10:42:18Z",
  "http_status": 200,
  "content_sha256": "b92c4f…7a05d3",
  "content_check": "substantive",
  "fetch_level": "protected",
  "upgraded": true,
  "upgrade_reason": "403 at standard; challenge page at rendered",
  "robots_txt": "allowed",
  "ai_use_signal": "partially_reserved",
  "ai_use_details": {
    "robots_txt": {
      "status": "partially_reserved",
      "disallowed_agents": [
        "GPTBot",
        "CCBot"
      ]
    },
    "tdmrep": {
      "status": "none_declared"
    }
  },
  "unit_cost_usd": "0.003000",
  "billed_usd": "0.003000",
  "currency": "USD"
}

Signals are evidence for your review. They are not a legal determination and do not grant rights over the content.

content_check values

A blocked or empty_shell result moves the request up a fetch level when Auto-upgrade allows it. If no allowed level returns substantive content, the receipt shows billed_usd: "0.000000", and content_check_reasons says why, for example status:429.
content_check values and billing
ValueWhat it meansBilled
substantiveReal page content with enough visible text.Level price
blockedAn anti-bot challenge, captcha, rate-limit, or access-denied screen.Upgrades, else $0
empty_shellToo little visible text to be content, typically a JavaScript app that needs a browser.Upgrades, else $0
login_wallThe page asks for credentials instead of showing content.Not billed: $0
error_pageAn HTTP error, an unfollowed redirect, or a soft 404 (status 200, but the page says it does not exist).Not billed: $0
Page price by fetch level
fetch_levelBilled for a substantive page
standard$0.00011
rendered$0.00011 + $0.00099
protected$0.003

Where ai_use_signal comes from

We read four sources for every page and keep the strongest reservation found. What robots.txt said for the path itself is a separate field, robots_txt.
AI-use signal sources
SourceWhat we read
robots_txtUser-agent rules for 14 AI bots, including GPTBot, ClaudeBot, PerplexityBot, Google-Extended, and CCBot, applied to the path. All disallowed is reserved; some is partially_reserved.
tdmrepA text-and-data-mining reservation (tdm-reservation) under the W3C TDMRep spec.
ai_txtSite-level AI usage rules for the path, when the file exists.
robots_metanoai and noimageai directives.
ai_use_signal values
ValueSet when
reservedAt least one source fully reserves the page for AI use.
partially_reservedA source reserves it for some uses or agents, for example robots.txt blocks only some AI bots.
none_declaredEvery source was checked and none declares a reservation.
unknownNothing was reserved, but at least one lookup failed. ai_use_details shows which.

Each ai_use_details entry has a status of reserved, partially_reserved, none_declared, unavailable (the lookup failed), or not_checked. Neither AI-use signals nor robots_txt stop a fetch. They are recorded so your pipeline can filter on them.

Check whether a page changed

Re-crawl the source_url and compare hashes. Matching hashes mean the content you trained on is still what the page serves.
verify.pyPython
import requests

receipt = job["tasks"][0]["receipt"]
fresh = requests.post(
    "https://api.dataforgaio.com/v1/crawls",
    headers={"Authorization": f"Bearer {API_KEY}"},
    json={"url": receipt["source_url"]},
).json()["tasks"][0]

changed = fresh["receipt"]["content_sha256"] != receipt["content_sha256"]
print("page changed" if changed else "page unchanged")

Pipeline questions

Not covered here? Write to dani@dataforgaio.com or read the full FAQ.

Open a receipt for a page you choose.

Start free, crawl a URL from the dashboard, and read every field above on your own data.