docsfreshnessupdate-frequency
Update Frequency
GET
/api/v1/accuracy/update-frequencyUpdate frequency stats over the analysis window. Returns total records, records per day, records per hour, and station counts. Useful for monitoring pipeline throughput. Optional metric filters which forecast column is considered in the window (high vs low).
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
days | integer | optional | Rolling window Default: 90 |
metric | string | optional | high (default) or low Default: high |
Response Fields
| Field | Type | Description |
|---|---|---|
data_type | string | Data source type |
total_records | integer | Total records in window |
unique_days | integer | Days with data |
records_per_day | float | Average records per day |
records_per_hour | float | Average records per hour |
stations | integer | Active station count |
cURL
curl -s -H "Authorization: Bearer $API_KEY" "https://api.deltadaemon.com/api/v1/accuracy/update-frequency?days=90"
JSON
{"success": true,"data": {"data_type": "weather_forecasts","total_records": 1995,"unique_days": 10,"records_per_day": 199.5,"records_per_hour": 0.92,"stations": 20},"metadata": {"generated_at": "2026-02-22T07:57:36.266814224Z","days_analyzed": 90,"total_records": 1995,"query_time_ms": 3}}