Dataset Schema Drift Detector
Pricing
from $50.00 / 1,000 drift report completeds
Dataset Schema Drift Detector
Compare yesterday's and today's JSON records: removed or added fields, type changes, null-rate spikes and volume drops, before downstream automations break.
Pricing
from $50.00 / 1,000 drift report completeds
Rating
0.0
(0)
Developer
Colton Mcclain
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
10 days ago
Last modified
Categories
Features
Share
Catch broken selectors and silent schema changes before they reach your pipeline.
What problem does it solve?
A scraper that 'succeeds' can still return empty prices, renamed fields or half the rows. You find out downstream, days later.
What it does
- Profiles both samples per top-level field: presence, null/empty rate, value types.
- Flags removed and added fields, type changes, null-rate spikes, presence drops and volume drops.
- Returns severity-ranked findings plus both profiles so you can see the numbers.
Pricing (pay per event)
| Event | Price |
|---|---|
| Actor start (once per run, per GB of memory, minimum one) | $0.0050 |
| Drift report completed (per drift report) | $0.0500 |
You pay only for the events above plus nothing else from ELYRAON; Apify platform usage is covered by the event prices. The start event is charged on every run, including a run rejected for invalid input (nothing else is charged in that case). If you set a maximum charge per run, the Actor stops when it is reached and reports PARTIAL_MAX_CHARGE in the OUTPUT record, so you are never silently billed beyond your cap and never told a partial result is complete.
Input
| Field | Title | Required | Description |
|---|---|---|---|
baseline | Baseline records | no | The known-good sample (JSON array of objects). |
baseline_url | Baseline URL | no | Public URL of a JSON/JSONL file. Use instead of Baseline records. |
current | Current records | no | The new run's sample (JSON array of objects). |
current_url | Current URL | no | Public URL of a JSON/JSONL file. Use instead of Current records. |
null_rate_threshold | Null-rate change threshold | no | Flag a field when its null/empty rate rises by at least this much. |
volume_drop_threshold | Volume drop threshold | no | Flag when row count falls by more than this fraction. |
Example input:
{"baseline": [{"price": 10}],"current": [{"price": null}]}
Output
Results go to the run's default dataset (download as JSON, CSV or Excel). Each item:
| Field | Type | Description |
|---|---|---|
baseline_rows | integer | Rows in baseline. |
current_rows | integer | Rows in current. |
drift_detected | boolean | Any non-informational finding. |
findings | array | Severity-tagged drift findings. |
baseline_profile | object | Per-field profile. |
current_profile | object | Per-field profile. |
Example item:
{"drift_detected": true,"findings": [{"severity": "high","type": "null_rate_spike","field": "price"}]}
The key-value store holds OUTPUT (run summary: status, counts, warnings, limitations, version, source commit) and REPORT.md (readable summary). OUTPUT.status is SUCCEEDED, PARTIAL_MAX_CHARGE, PARTIAL_RESULT_LIMIT or FAILED (with a structured error code/message/field). Invalid or empty input fails the run immediately with an explanation and returns no results.
Use from code
curl -X POST "https://api.apify.com/v2/acts/colt2822~dataset-schema-drift-detector/run-sync-get-dataset-items?token=$APIFY_TOKEN" \-H "Content-Type: application/json" -d '{"baseline": [{"price": 10}], "current": [{"price": null}]}'
from apify_client import ApifyClientrun = ApifyClient("$APIFY_TOKEN").actor("colt2822/dataset-schema-drift-detector").call(run_input={"baseline": [{"price": 10}], "current": [{"price": null}]})
This Actor can also be called by AI agents through the Apify MCP server (https://mcp.apify.com), which exposes Actors as tools.
Limitations
- Compares two samples you provide (items or URLs); it does not read Apify datasets by ID.
- Top-level fields only.
- Thresholds are heuristics: tune them to your data.
Support
Questions or problems: https://elyraon.com.co/contact/ (ELYRAON). Source revision: factory-65d07d3. Actor version 1.0.