RAG Document Change Tracker: Markdown Deltas
Pricing
from $2.00 / 1,000 output rows
RAG Document Change Tracker: Markdown Deltas
Keep RAG knowledge bases current. Compare public HTML or Markdown documents and export changed blocks with stable IDs, hashes and previous content.
Pricing
from $2.00 / 1,000 output rows
Rating
0.0
(0)
Developer
Ailu Studio
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
13 days ago
Last modified
Categories
Features
Share
RAG Document Change Tracker: Markdown Deltas
Keep RAG knowledge bases current. Compare public HTML or Markdown documents and export changed blocks with stable IDs, hashes and previous content.
RAG and documentation-search teams can upsert changed blocks and remove confirmed obsolete IDs instead of re-embedding every page.
Quick start
- Open Input and keep the default example, or supply your own supported source URLs.
- Start with a small
maxItemsvalue. Run once withoutputMode: "all". - Inspect the dataset and OUTPUT summary, including coverage and errors.
- Repeat with
outputMode: "changes"using the same history store. Zero rows means no observed changes, not a broken run. - Create an Apify Task and Schedule for recurring checks. Use the dataset API or Apify integrations for downstream workflows.
{"urls": ["https://docs.apify.com/actors/development/permissions"],"maxItems": 30,"outputMode": "all"}
Input
| Field | Meaning |
|---|---|
urls | 1–20 public HTML or Markdown URLs. HTTP content only; no login, JavaScript browser or recursive crawl. |
outputMode | all returns the current observed snapshot; changes returns only new, updated and confirmed removed items. First run establishes a baseline. |
maxItems | Hard output cap, including removed rows. Changes beyond the cap remain pending for a later run. |
stateStoreName | Optional existing history store name or ID. Otherwise this Actor creates its own persistent store. Use a separate store per independent watchlist and avoid overlapping runs. |
Output and change handling
Each row has a stable id, a changeType (new, updated, unchanged, or where supported removed) and fetchedAt. Updated rows include the previously stored row in previous. The OUTPUT record reports row counts, source coverage and errors. Missing fields remain null when unknown.
Use id as your destination upsert key. Treat removed as a delete instruction only for a source that supports confirmed deletion. In changes mode, unchanged rows are omitted. The first run reports observed items as new. Row caps leave unreported changes pending; use the same settings on the next run to drain them.
Coverage and limitations
Reads only the supplied URLs and respects robots.txt. It does not render JavaScript, follow links, download PDFs or create embeddings. Markdown keeps code and tables. IDs use URL, heading path, block type and position within the section: inserting a block or renaming a heading may cause additional updates. At most 300 blocks per page are observed. Truncated pages and fetch errors never imply deletions. HTTP 404/410 on an explicitly watched URL can remove its previously seen blocks. Do not silently remove a URL from a watchlist to request deletion; consume removed rows or manage that source in your vector database.
Only public resources are supported. No login, cookies, form submission or access-control bypass is performed. URL readers reject private/reserved hosts and enforce response/request caps. Different watchlists should use separate history stores. Sequential runs are required for a shared store.
Costs
$2.00 per 1,000 output rows, plus Apify platform usage. New, updated, unchanged (all mode) and removed rows are charged when emitted; omitted unchanged rows in changes mode are not charged. Check the Pricing tab for the active rate.
API and automation
Use the API tab for generated JavaScript, Python or HTTP examples. Keep your token in an environment variable, never in a shared URL. After a run succeeds, read its default dataset; check OUTPUT before treating a partial result as complete. Download CSV/JSON from the dataset or send it to your own n8n/Make workflow using the returned IDs.
FAQ
Why did a repeat run return zero rows? The same source may not have changed. Use all mode for a current snapshot; do not create a new history store on every run.
Does this guarantee complete source coverage? No. Check the source-specific limits and OUTPUT coverage. Fetch failures never replace the previous successful baseline.
Can I reuse an existing state store? Yes. Supply its ID/name through the history input so the platform can grant scoped READ/WRITE access. Use only stores intended for this Actor.
Can I contact support? Open an issue with the run ID and a sanitized input. Never post API tokens or customer data.
Source and responsible use
Not affiliated with the source platform. Use data you are authorized to collect and process. Respect source terms and applicable rights. Source documentation: https://docs.apify.com/actors
Output example
Selected fields from a successful live run; future values and result counts can differ.
{"id": "https://docs.apify.com/actors/development/permissions#bce250005d8016e71ad1","url": "https://docs.apify.com/actors/development/permissions","section": "","markdown": "> ## Documentation index\n> \n> Fetch the complete documentation index at: https://docs.apify.com/llms.txt Use this file to discover all available pages before exploring further.","changeType": "new"}