RAG Snapshot Guard
Pricing
$0.50 / 1,000 compared pages
RAG Snapshot Guard
Compare two Website Content Crawler runs to see which pages to re-embed and which are safe to review for deletion, without modifying your search index.
RAG Snapshot Guard
Pricing
$0.50 / 1,000 compared pages
Compare two Website Content Crawler runs to see which pages to re-embed and which are safe to review for deletion, without modifying your search index.
You can access the RAG Snapshot Guard programmatically from your own applications by using the Apify API. You can also choose the language preference from below. To use the Apify API, you’ll need an Apify account and your API token, found in API & Integrations in Apify Console.
1from apify_client import ApifyClient2
3# Initialize the ApifyClient with your Apify API token4# Replace '<YOUR_API_TOKEN>' with your token.5client = ApifyClient("<YOUR_API_TOKEN>")6
7# Prepare the Actor input8run_input = {9 "baseline": {10 "scopeId": "docs-v1",11 "allowedOrigins": ["https://example.test"],12 "runId": "baseline",13 "capturedAt": "2026-10-31T00:00:00.000Z",14 "mode": "full",15 "complete": True,16 "expectedUrls": [17 "https://example.test/a",18 "https://example.test/b",19 "https://example.test/c",20 ],21 "records": [22 {23 "url": "https://example.test/a",24 "status": "ok",25 "httpStatus": 200,26 "text": "a",27 },28 {29 "url": "https://example.test/b",30 "status": "ok",31 "httpStatus": 200,32 "text": "b",33 },34 {35 "url": "https://example.test/c",36 "status": "ok",37 "httpStatus": 200,38 "text": "c",39 },40 ],41 },42 "current": {43 "scopeId": "docs-v1",44 "allowedOrigins": ["https://example.test"],45 "runId": "current",46 "capturedAt": "2026-10-31T00:00:01.000Z",47 "mode": "full",48 "complete": True,49 "expectedUrls": [50 "https://example.test/a",51 "https://example.test/b",52 ],53 "records": [54 {55 "url": "https://example.test/a",56 "status": "ok",57 "httpStatus": 200,58 "text": "a",59 },60 {61 "url": "https://example.test/b",62 "status": "ok",63 "httpStatus": 200,64 "text": "b",65 },66 ],67 },68}69
70# Run the Actor and wait for it to finish71run = client.actor("venture_lab/rag-snapshot-guard").call(run_input=run_input)72
73# Fetch and print Actor results from the run's dataset (if there are any)74print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")75for item in client.dataset(run.default_dataset_id).iterate_items():76 print(item)77
78# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-startThe Apify API client for Python is the official library that allows you to use RAG Snapshot Guard API in Python, providing convenience functions and automatic retries on errors.
Install the apify-client
$pip install apify-clientOther API clients include: